Try to search your question here, if you can't find : Ask Any Question Now ?

How can I set signing order by using DocusignApi

HomeCategory: stackoverflowHow can I set signing order by using DocusignApi
Avatarkundan asked 1 month ago

I want to set the signing order in an embedded signing envelope, which means that I have 2 recipients that sign the document one by one. On the sandbox UI that I can tick the checkbox to set the signing order and have 2 recipients there. The second one receives the email after the first one finished. I am wondering how can I implement the same logic by code.

I ve already tried to set the routing order but not what I want.

TemplateRole signer = new TemplateRole();
signer.setEmail(signerEmail);
signer.setName(signerName);
signer.clientUserId(String.valueOf(xxx));
signer.setRoleName("signer");
signer.setRoutingOrder("1");

TemplateRole signer1 = new TemplateRole();
signer1.setEmail("xxx");
signer1.setName("xxx");
signer1.clientUserId(String.valueOf(123));
signer1.setRoleName("signer1");
signer1.setRoutingOrder("2");

envelopeDefinition.setTemplateRoles(Arrays.asList(signer, signer1));

This is what I want:
enter image description here

Not this:
enter image description here

1 Answers
Best Answer
AvatarArben answered 1 month ago
Your Answer

19 + 10 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com