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

Determine Webhook Event Source #139

Closed GlenBrauer closed 4 years ago

GlenBrauer commented 4 years ago

I am using webhooks to get updates from docusign. I am using both EnvelopeEvents and RecipientEvents. I noticed that when getting emails from docusign it specifies which recipient/signer caused the event to fire. Where in the XML response from the event it lists all the recipients/signers, but does not have a way to specify which changed actually caused the event to fire. Is this possible? I would like to log the event in my application when a recipient/signers status updates without having to keep a last status data field in my application to compare against the xml response from the event.

LarryKlugerDS commented 4 years ago

Hi, Unfortunately, Connect does not provide information on the event that triggered the notification. Also, note that the default Connect queuing algorithm often aggregates together notifications that happen close in time.

For example, when the last recipient reaches the complete status, the envelope as whole is then updated to the complete status. But if you're asking for both events, you'll usually only get one notification.

If you switch your account to SIM (Send Intermediate Messages) mode then you'll get all.