sushmakanugu | Posts: 48

Event Notification

0 votes
Hello, Is there a way to find the document in the package on which we received signer_complete or package_complete event? Thanks, Sushma

Duo_Liang | Posts: 3776

Reply to: Event Notification

1 votes
Hi sushmakanugu, If it's possible for you to monitor the "DOCUMENT_SIGNED" event, the "documentId" attribute contains the document id of which is signed by current signer. Following is a payload example.
{"@class":"com.silanis.esl.packages.event.ESLProcessEvent","name":"DOCUMENT_SIGNED","sessionUser":"44aafb7c-97b9-40e1-bb59-eb76c7d2a484","packageId":"5n4obeO8jYoPp126Cm-Y3fxdfbo=","message":null,"documentId":"7caf46cdd75f7a411bf8c22793b84fa79d8d180becc40691","createdDate":"2018-06-30T20:12:12.256Z"}
If you couldn't monitor this event, since you can retrieve packageId anyway, you can make a traversal of all the documents and find out what documents are assigned signatures to this signer. You can also have a check of Event Notifier Document to find out other notifiers. And hope you find this reply helpful!

sushmakanugu | Posts: 48

Reply to: Event Notification

0 votes
We monitor documnet_signed event too.As the both events notify almost at the same time,would like to know if there is any other way to get on which document package_complete or signer_complete trigerred? Thanks, Sushma

Duo_Liang | Posts: 3776

Reply to: Event Notification

2 votes
Hi Sushma, From package_complete and signer_complete event, you won't be able to find out which document triggers this event, as they are package level callbacks. (If a signer signed several documents to finish signing ceremony, it's hard to say which document triggers the event) But since you have already monitored the document_signed event, you can store all these history records in your system and finds out who signed what document in which package at when easily.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off