Hello,
I am trying to implement a counter-signature functionality in DocuSign sandbox env and encountering an issue where the envelope does not transition to the "Completed" status as expected. Below is the workflow I am attempting to implement and the problem I am facing:
-
Template Setup:
- My template has two roles:
- Customer (Role 1): Configured as
need to sign
, with required text fields and a signature field. This role has aroutingOrder
of 1. - Company (Role 2): Configured as
need to sign
, with required text fields only. This role has aroutingOrder
of 2.
- Customer (Role 1): Configured as
- My template has two roles:
-
Envelope Creation:
- At the time of envelope creation, I programmatically fill all required text fields for the
company
role using the API ( also try to fill text fields after the customer signature complete ) . - The
customer
role receives the envelope and is expected to sign and complete their part.
- At the time of envelope creation, I programmatically fill all required text fields for the
-
Customer Signing:
- The
customer
role completes all required fields and signs the document. At this stage, thecustomer
should not see the pre-filled fields associated with thecompany
role.
- The
-
Expected Behavior:
- After the
customer
completes their part, thecompany
role should automatically transition to "Completed" status because all its required fields were pre-filled during envelope creation. - Once both roles are completed, the envelope should transition to the "Completed" status.
- After the
-
Actual Behavior:
- After the
customer
completes their part, the envelope does not transition to "Completed." Instead, thecompany
role remains in the "Sent" status, and the envelope remains incomplete. - Even when I attempt to update the
company
role fields via the API using theupdateTabs
method (or similar), the role's status does not change to "Completed," and the envelope remains stuck.
- After the
Questions:
- Why does the
company
role not transition to "Completed" after its fields are pre-filled programmatically? - Is there a specific configuration required to enable this functionality for counter-signatures in DocuSign?
- Are there any known limitations or specific API steps needed to update the status of a role and ensure the envelope transitions to "Completed"?
- Is there a way to debug or determine what is preventing the envelope and the
company
role from completing?