Automic Workload Automation

 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 12, 2019 10:12 AM
    Edited by Christopher Hackett Jul 23, 2019 04:00 PM
    This is just off the top of my head.  I haven't tested these.

    1. Have a script at the end of the workflow use activate_uc_object with start time lagged by a minute or so (do not use WAIT) to check the status,  You can pass the runnid of the workflow
    2. Probably easier.  Put the workflow in another workflow and have a follow up task check the status of the workflow run as the previos task). in fact you could use the dependency logic to check the ended ok of the workflow task and the next job can execute your api code if I read correctly on what your are trying to do.



  • 3.  RE: Post process in JOBP

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