BPM, Workflow, and Case

 View Only
  • 1.  Attach Coach as a document

    Posted 2 days ago

    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
    ------------------------------


  • 2.  RE: Attach Coach as a document

    IBM Champion
    Posted 2 days ago

    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 - 

    1. Using  a JavaScript library like jsPDF, you can easily convert the HTML content of the coach into PDF.
    2. 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
    ------------------------------



  • 3.  RE: Attach Coach as a document

    Posted 2 days ago
    Edited by Grant Taylor 2 days ago

    We did an internal prototype with the PDFreactor libraries (https://www.pdfreactor.com/).  I can share those assets with you if you are interested.  The goal of this prototype was to export a PDF from a coach, which is part of what you need.



    ------------------------------
    Grant Taylor
    ------------------------------



  • 4.  RE: Attach Coach as a document

    IBM Champion
    Posted yesterday

    Hi Nicole,

    Yes like others have suggested, generating a pdf would be the way to go. This is easily done with any open Java libraries to convert html to pdf. We are doing a lot of this in our projects as well.

    Regards



    ------------------------------
    Thong Huynh
    Sydney
    ------------------------------