@Sbhuvan
To handle a dynamic table in a DocuSign template where the number of rows varies based on data from ServiceNow, here are some options and best practices:
Static Field Configuration: You could pre-configure each row as a custom field in the DocuSign template, assigning each row a unique label (e.g., Row1_Item, Row2_Item, etc.). However, this approach may not scale well if the number of rows is highly variable, as it requires anticipating a maximum row limit and manually setting fields for each.
Composite Templates: Using DocuSign’s Composite Templates and API, you can create documents dynamically before sending them for signature.
Another effective method, especially when dealing with dynamic rows, is to generate the table outside of DocuSign (e.g., as a PDF) with ServiceNow, and then include it as part of the DocuSign envelope as an attachment or a new page. This way, ServiceNow handles the complexity of creating a table with a variable number of rows, while DocuSign simply manages the signature fields.
@JohnSantos
Thanks for reply and suggestions.
Generating the table in ServiceNow and including it in envelope is a great alternative , will give it a try.
Hi @Sbhuvan,
I hope you are doing well.
I would like to confirm if the suggested solution answers your question?
If so, please mark it as the best answer by clicking “Select as Best” to make it easier for other users to find. Otherwise, feel free to let me know and I will gladly help you address the situation as soon as possible.
Best regards,
Alejandro R. | Docusign Community Moderator
"Select as Best" below if you find the answer a valid solution to your issue!