Hi Nicole,
Definitely it is feasible technically, the approach would depend on the requirement/specification of the document.
If you are looking to generate a PDF then there can be multiple ways of doing it -
- Using a JavaScript library like jsPDF, you can easily convert the HTML content of the coach into PDF.
- If you are looking to create more fine grained PDF with customized style, you can use a Java library like Apache PDFbox to create the PDF dynamically based on the content of the Coach.
Obviously, after creating the document you can associate that with the process instance and upload to the BPM Document Store.
Thanks!
------------------------------
Atanu Roy
Lead Engineer
London Stock Exchange Group
------------------------------
Original Message:
Sent: Wed July 24, 2024 09:29 AM
From: Nicole Smith
Subject: Attach Coach as a document
We have a potential workflow where a user wants to make a coach a potential document. The reason for this being is the users currently have a process where they send the information being input on the coach to a contact person that is outside of the company for review. So ideally we want it to where they can fill out the coach, attach that information input into the activity as a document to grab at a later point in time? Is this doable, and if so, how?
------------------------------
Nicole Smith
------------------------------