Page 1 of 1

View Dynaform direct through a Link

Posted: Thu Jul 12, 2018 8:31 pm
by heemalkumar
Hi Guys
I have built a process for Travel Authorization Approval in our Organisation.

My process is, once all Approvals provided, an email is automatically sent to the Initiator, advising officer that approval given, please proceed with Booking. Would like to know, is there a way, where I can provide a link on that email, so when Initiator clicks on that link, the Final Dynaform shows directly, and Initiator then prints dynform to PDF/printer.

Let me know your views.

Re: View Dynaform direct through a Link

Posted: Thu Jul 12, 2018 9:22 pm
by amosbatto
Create an Output Document with the data from the DynaForm. Then use the PMFSendMessage() in a trigger to sent the email. See the code example in PMFSendMessage() documentation to attach an Output Document to the email.

Re: View Dynaform direct through a Link

Posted: Thu Jul 12, 2018 10:41 pm
by heemalkumar
Previous version of Process Maker, we could view the HTML code of our dynaform.
How do we go about doing this now, so I could create the Output document.

Re: View Dynaform direct through a Link

Posted: Fri Jul 13, 2018 1:28 am
by amosbatto
You can't edit the HTML code for Dynaforms in BPMN processes, because it is generated dynamically to adjust to different types of devices. You need to use JavaScript to alter the HTML code.

You can press F12 in Chrome or Firefox to open the web browser's debugger to get the HTML code when viewing a DynaForm.