Automic Workload Automation

 View Only
  • 1.  Retrieve status in pre-condition

    Posted Dec 03, 2018 08:09 AM

    Dear all,

     

    i need to get the current status of  JOBS.EXAMPLE.A in a pre-conditon of JOBS.EXAMPLE.B in the same workflow (JOBP).

     

    I need to check the time and if the JOBS.EXAMPLE.B is running or not.

     

    Currently i don't know how to do it.

     

    If i check the status at the beginning the pre-condition has always the inital value and this is not changing.

     

    Anyone who can assist? I guess its simple (hopefully)

     

    Thanks in advance.

     

    regards,
    Benedikt 



  • 2.  Re: Retrieve status in pre-condition

    Posted Dec 04, 2018 02:52 AM

    Hi

     

    If you put the task JOBS.EXAMPLE.B behind JOBS.EXAMPLE.A it will be starten when task A is finished.

     

    cheers, Wolfgang



  • 3.  Re: Retrieve status in pre-condition

    Posted Dec 04, 2018 04:04 AM

    If i check the status at the beginning the pre-condition has always the inital value and this is not changing.

    Are both jobs marked Generate at runtime? If not, all of the task generation steps — including (I believe) evaluation of pre-conditions — will be performed at the same time, when the parent workflow is activated.