Skip to main content
Solved

Apex Toolkit -- Modifying Recipient Routing Order

  • January 16, 2025
  • 1 reply
  • 31 views

Forum|alt.badge.img+2

Hello! 

 

I’m working on creating an integration using the Apex Toolkit and I’m having an issue with my envelope recipient routing order and sequence order. I’ve noticed that when constructing my envelope recipients with the envelope.withRecipients it automatically assigns my recipients a routing order and sequence number based on their order in the recipient list.

 

I need to be able to assign those values myself so that they can align with a template I’m matching my envelope to. Any suggestions on how I can do this would be greatly appreciated! 

Best answer by Adrian Dev

Hello Jett987 ,
 
Thank you for contacting Docusign Customer Support. 
 

You can specify Recipient with Signing Order:
 




dfsle.Recipient myRecipient1 = dfsle.Recipient.fromSource(
                    'Signer One' , // Recipient name
                    'signer1@abc.com', // Recipient email
                    null, //Optional phone number
                    'Signer 1', //Role Name. Specify the exact role name from template
                    null).withRoutingOrder(1); 

dfsle.Recipient myRecipient2 = dfsle.Recipient.fromSource(
                    'Signer Two' , // Recipient name
                    'signer1@abc.com', // Recipient email
                    null, //Optional phone number
                    'Signer 2', //Role Name. Specify the exact role name from template
                    null).withRoutingOrder(2); 


 

We hope this helps. 
 
Best regards,
 
Adrian | Docusign Developer Support
View Original
Is this content helpful?

1 reply

Forum|alt.badge.img+4
  • Conversation Starter
  • 25 replies
  • Answer
  • January 18, 2025
Hello Jett987 ,
 
Thank you for contacting Docusign Customer Support. 
 

You can specify Recipient with Signing Order:
 




dfsle.Recipient myRecipient1 = dfsle.Recipient.fromSource(
                    'Signer One' , // Recipient name
                    'signer1@abc.com', // Recipient email
                    null, //Optional phone number
                    'Signer 1', //Role Name. Specify the exact role name from template
                    null).withRoutingOrder(1); 

dfsle.Recipient myRecipient2 = dfsle.Recipient.fromSource(
                    'Signer Two' , // Recipient name
                    'signer1@abc.com', // Recipient email
                    null, //Optional phone number
                    'Signer 2', //Role Name. Specify the exact role name from template
                    null).withRoutingOrder(2); 


 

We hope this helps. 
 
Best regards,
 
Adrian | Docusign Developer Support