AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  Post process in JOBP

    Posted Jul 11, 2019 07:14 PM
    Hello experts,

    Is there any way to include some code to call the API in the POST PROCESS of the workflow (JOBP). Seems like we do not have the POST PROCESS tab in the workflow.

    We have a use case wherein we call API to trigger the job and get the details from CALL BACK API.
    For that, workflow should be complete (ENDED_OK) to get the status (So we need to execute the API code after the POST PROCESS of the workflow (JOBP)

    Please let us know for any suggestions.


  • 2.  RE: Post process in JOBP
    Best Answer

    Posted Jul 13, 2019 10:37 AM
    As you said, there is no post process on workflows. You might poll the API to identify the status of the JOBPs status (>1800 = JOBP has ended, 1900 = ENDED_OK). What you might also do is to put the JOBP into another JOBP and add a successor job in the outer JOBP to trigger something if the inner JOBP ENDED_OK.

    ------------------------------
    Swisscom & WorkflowCommander
    ------------------------------



  • 3.  RE: Post process in JOBP

    Posted Jul 18, 2019 02:01 PM
    Thank you!