So I am currently using the Docusign API to build a web app that involves having users signed a shared document, and everything works fine in a normal scenario: a template will be created and have predefined roles like "signer 1", "signer 2", "special 1"; when a signing happens, an envelope will be created from the template have users associated with roles, like user1 with signer 1, user 2 with signer 2, and users can sign the tabs that are associated with their roles.
However, there are some scenarios that I need to modify the users signing the sent envelope. For example, I might need user 2 to switch from the role "signer 2" to "special 1", therefore I will first remove user 2 from the recipients, and add user 2 with the role "special 1" back in the recipients. Ideally, the tabs that are associated with "special 1" as defined in the template should now be user 2's duty to sign. However, when user 2 is added back in, it is not linked with the tabs defined for the role "special 1", though in the envelope status it shows that user 2 has the role "special 1".
Does anyone know what's happening here? My suspect is that template roles are only applied when the envelope is first created, the later-added recipients, though set with rolename, does not take the role that was defined in the template. If my guess is correct, are there any ways to solve this issue?
Any help will be greatly appreciated.