Hi all,
We are actively using DocuSign and have an issue using Generate Agreement with Docusign action in flow. We need to generate a document using Gen Template, since we need to dynamically populate a table with the child object records information, and then send it using Envelope Template in the background when record status is changed. That's why we use flow and actions. We did it as described in the documentation: https://docusign.my.site.com/s/document-item?language=en_US&bundleId=izj1586134369853&topicId=fvj1713565839079.html&_LANG=enus, but it's not working, nothing happened. The Send With DocuSign action on the other side is working fine and sends an envelope. What can be the reason for this issue? Maybe we missed some configuration on template or something like that?
Generate Agreement with Docusign Action in Salesforce Flow is not working
Best answer by JonGarnicaIzco
Hello
Just found out what they were referring to with the English issue. You need to put dfsle__templateLocale__c = English (United States) and dfsle__templateLocaleCode__c = en_US (Important the upper case when needed).
When you change that in your Gen Template and then use the apex-dfsle__InvocableDocumentGenerationRequest using the correct source id and template id (initially the Template ID record was blank, so I had to manually use the Salesforce Inspector and assign the record ID to the Template ID field, pretty weird, but whatever).
With all that configuration, when executing the flow, it takes 5-10 second, but then when you access your Salesforce object and check the files section, it appears the template generated.
Hope it helps!
Jon
Sign up
Already have an account? Login
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationDocusign Community
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Back to Docusign.com




