docusign / docusign-esign-java-client

The Official Docusign Java Client Library used to interact with the eSignature REST API. Send, sign, and approve documents using this client.
https://javadoc.io/doc/com.docusign/docusign-esign-java/latest/index.html
MIT License
105 stars 96 forks source link

TemplateName missing in additional template documents #183

Closed atrudeau-vitall closed 3 years ago

atrudeau-vitall commented 3 years ago

I have 2 templates, one with 2 documents, and another with 1 document. When my webhook receives the connect event, the template name is missing from the document status for the second file in the template with multiple files. My team is using the template name to group the document statuses and it being missing from the additional documents is causing issues.

Here's the document statuses section of the event

<DocumentStatuses>
    <DocumentStatus>
        <ID>1</ID>
        <Name>first-file.pdf</Name>
        <TemplateName>First Template</TemplateName>
        <Sequence>1</Sequence>
    </DocumentStatus>
    <DocumentStatus>
        <ID>2</ID>
        <Name>second-file.pdf</Name>
        <TemplateName />
        <Sequence>2</Sequence>
    </DocumentStatus>
    <DocumentStatus>
        <ID>3</ID>
        <Name>third-file.pdf</Name>
        <TemplateName>Second Template</TemplateName>
        <Sequence>3</Sequence>
    </DocumentStatus>
</DocumentStatuses>
geoffpdevsup commented 3 years ago

How are you sending these envelopes? Are you using the eSignature web application or the API. If API include your API call (without the pdf bytes) and I will investigate.

atrudeau-vitall commented 3 years ago

I'm using the eSignature web application, and sending the document to my webhook with the connect integration. I checked the logs under my connect integration and the second "First Template" name was missing from there as well - perhaps this isn't a java client issue.

geoffpdevsup commented 3 years ago

I cannot reproduce this result. I get the templateName for all three documents. If you want to pursue this, and you have a production account, I suggest opening a case https://support.docusign.com/en/articles/How-Do-I-Open-a-Case-in-the-DocuSign-Support-Center.

mmallis87 commented 3 years ago

@atrudeau-vitall I agree this is not related to this SDK but another option is to post this on StackOverflow https://stackoverflow.com/questions/tagged/docusignapi