BPM, Workflow, and Case

  • 1.  Export/Print process diagram

    Posted Fri September 10, 2021 04:55 AM
    Hi,

    I have searched in documentation without succes.
    I would like to print a process diagram how to achieve this.

    Thus I cannot find the 'old' 'Generate documentation' in BAW 20.0.3.

    Thanks for help


    ------------------------------
    Yannick Martin
    ------------------------------


  • 2.  RE: Export/Print process diagram

    Posted Fri September 10, 2021 05:13 AM
    Can you please check this thread out - 
    https://community.ibm.com/community/user/automation/communities/community-home/digestviewer/viewthread?GroupId=2455&MessageKey=a5ef021d-b95c-4fab-b6a5-5bd9ef8064d3&CommunityKey=810abde6-3916-441b-aac3-b9105bb37e3c&tab=digestviewer&ReturnUrl=%2fcommunity%2fuser%2fautomation%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d810abde6-3916-441b-aac3-b9105bb37e3c%26tab%3ddigestviewer

    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------



  • 3.  RE: Export/Print process diagram

    Posted Fri September 10, 2021 08:15 AM
    Hi Atanu,

    to use the 'processModel' REST API, we need the BPD ID (format 25.*)
    I try to find it with the 'exposedProcess' REST API but only pure process apps are exposed and all process apps with case features are hidden.

    May you help me to find such ID ?

    Thanks for help.

    ------------------------------
    Yannick Martin
    ------------------------------



  • 4.  RE: Export/Print process diagram

    Posted Fri September 10, 2021 08:41 AM
    Hi,

    I find a way to get all processes in Case solution by exported the snapshot ID and view the META-INF/package.xml file.
    Thus, opening the process designer from the Case builder case type corresponding activity, you can find in the opened URL address bar the BPD ID (25.*).

    Is there not REST API to get these BPD IDs ?


    Best regards

    ------------------------------
    Yannick Martin
    ------------------------------



  • 5.  RE: Export/Print process diagram

    Posted Tue September 14, 2021 01:58 AM
    The process must be exposed to the logged in user who is running the REST API to get the BPD ID. You can expose it once to all users and find the BPD ID then you can unexpose it. I think this is a limitation of the product, there should be an API to find BPD ID by BPD name. Alternatively you can use findProcessByName() JS API to find the ID.

    ------------------------------
    Atanu Roy
    Solution Architect
    Salient Process
    ------------------------------