I am working on a DocuSign template that needs to support either 2 signers or 3 signers depending on the case and then send a CC to 4 different recipients.
Here is a screenshot of my template recipients:
If I create an envelope with two signers and skip routing order 3 (since I don't need a third signature in this case) and move to 4, 5, 6, 7 CC recipients my envelope looks like this on creation:
It successfully skips the signer in routing order 3. However, it is turning CC recipients 5 and 6 from "Receive a Copy" to "Needs to Sign". I have no idea why it is doing this - this is in direct violation of the template recipient types. I do not want to create two identical templates with the only difference being 2 signers or 3 signers. Does anyone have any idea why it is doing this or how I can fix this?
Is there a better way to have a variable number of signers on a template?
Thanks for any help on this.
Here is the documentation on Conditional Routing, which is the recommended solution for this use case.
You could also use the API, but that'd be considerably more difficult.
Create your template with conditional routing. If you can't get it to do what you want, then DocuSign customer service is a good bet.
Or you can download the template, unzip, and open it. Then use a JSON pretty printer to make it legible. Then look for the recipients and related routing rules to see if they look right to you.
Trying to create conditional routing rules via the API is not a good idea. Create a template with the routing rules via the DocuSign web app.
The API can be used to change the envelope routing order.
created
) (best: from a template)sent
)In this case, we want to pause the envelope after the recipient completes their work, check the tab value, and then (if appropriate) change the routing order
Clearly, it would be a lot better/smarter to used DocuSign's conditional routing feature!