BPM, Workflow, and Case

Expand all | Collapse all

How to export a defined flowchart as a PDF or picture file?

Jump to Best Answer
  • 1.  How to export a defined flowchart as a PDF or picture file?

    Posted Sun September 05, 2021 10:35 AM
    I need to export the defined flow chart in BPM to PDF file or picture format file. I don't know how to implement it?

    ------------------------------
    ding wei
    ------------------------------


  • 2.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Sun September 05, 2021 12:24 PM
    What do you mean by flow chart ? You can try this out -BAW UI Tools - Atanu Roy

    ------------------------------
    AtanuRoy
    Solution Architect
    Salient Process
    ------------------------------



  • 3.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Sun September 05, 2021 05:58 PM
    Hello, I need to export the "processes" in the figure below as PDF or picture.Need to be complete.



    ------------------------------
    ding wei
    ------------------------------



  • 4.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Sun September 05, 2021 07:01 PM
    If you can somehow make a copy of the Process Diagram view from the Dashboards toolkit, drop it into a coach view, and add the following custom HTML button that will print to pdf on click, the user could manually print to pdf.

    Custom HTML button:
    <a class="btn btn-primary hidden-print" href="javascript:window.print()"><i class="fa fa-print"></i> Print</a>

    ------------------------------
    Ailin Cao
    Associate Application Developer
    IBM
    ------------------------------



  • 5.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Sun September 05, 2021 09:40 PM
    I really don't know how to make a copy of the flowchart view from the Dashboards toolkit into the Coach view.
    However, the printing method you provide is also very useful.

    ------------------------------
    ding wei
    ------------------------------



  • 6.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Mon September 06, 2021 01:54 AM
    Hi Ding,

    There is REST API (Process Documentation API -> Process Visual Model) to see the visual model of a process, you need to pass the required parameters and append &image=true at the end of the URL. When you want to implement this in a CSHS, just take a Custom HTML block and wrap that URL with an img tag.
    Like - 
    <img src='https://localhost:9443/rest/bpm/wle/v1/visual/processModel/25.c904b3b1-afc1-4698-bf5a-a20892c20275?snapshotId=2064.481abfd8-9868-4638-ace0-7932d46958d5&branchId=2063.1a52abd6-b068-4f9e-91a9-ded9793eb34e&projectId=066.1052c1c9-0b2c-42d3-a2bd-cd73e6c89f9b&image=true'></img>​

    Add the Export to PDF control from BAW UI Tools - Atanu Roy
    You are ready to export the process diagram as PDF.



    ------------------------------
    AtanuRoy
    Solution Architect
    Salient Process
    ------------------------------



  • 7.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Mon September 06, 2021 09:13 PM
    Does the rest API (process documentation API - > process visual model) refer to this address?--
    https://www.ibm.com/docs/en/baw/20.x?topic=pvm-get
    I'll study it. Thank you very much!

    ------------------------------
    ding wei
    ------------------------------



  • 8.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Mon September 06, 2021 09:47 PM
    How do I get snapshotid, branchid or projectid?

    ------------------------------
    ding wei
    ------------------------------



  • 9.  RE: How to export a defined flowchart as a PDF or picture file?
    Best Answer

    Posted Tue September 07, 2021 12:39 AM
    Yes, that is the correct reference. You can use this to see your process apps and snapshots - https://www.ibm.com/docs/en/baw/20.x?topic=applications-get


    ------------------------------
    AtanuRoy
    Solution Architect
    Salient Process
    ------------------------------



  • 10.  RE: How to export a defined flowchart as a PDF or picture file?

    Posted Tue September 07, 2021 02:23 AM
    Thank you very much for your help. The problem has been solved.
    The only regret is that the quality of the exported pictures is not high.

    ------------------------------
    ding wei
    ------------------------------