Question
Parsing Docusign PDF documents
Hi ,
I am using DocuSign to allow an external user to provide all details and then do a signature. it works fine. I would like to PARSE the DocuSig'ed PDF files received in Pega once the user submits the DocuSign form. Also, it should map all External user fields of PDF to PEGA case ID.
I have followed lots of article in pega but none of them sound relevant to me.
Like using Eform but not sure if it works.
https://community1.pega.com/community/product-support/question/need-read-data-doc-and-pdf
https://community1.pega.com/community/product-support/question/pdf-parsing-clipboard
please advise do we have any straight way to achieve it?
Thanks in advance !
"DocuSignService • Services • pyConnect" REST Service is responsible for handling the DocuSign events such as 'Completed/Signed/Declined.. etc..'.
This source activity, pxProcessDocuSignEvents, for REST Svc has access to extensible activities that you can override to alter the behaviour.
#1. Parsing the PDF contents : look at #3rd step of pyProcessDocumentCompletedEvent activity. This is where you can get a hold of pdf contents as a string. See if you can parse as per your requirement.
#2. Get the custom/external fields : If you can trace and see the primary page for the Source activity of this svc, you should be able to know if the custom/external fields you are expecting are available as part of the payload or not (Refer to step #1 of source activity). Or please refer to DocuSign documentation to see how you can make those external fields available on to the payload.