Automic Workload Automation

  • 1.  How to Get sub jobs/jobplan details of a running JobPlan?

    Posted Oct 30, 2018 03:27 AM

    Hi ,

    i am working on uc4 automation task where i need to Execute a Jobplan "QA.JOBPLAN.X.TEST.APP.START" which having multiple sub task like Scripts and 2 more jobplans under it.

     

    I am able to execute the Job plan and able to track the status of the overall Job but the problem here is i am not able to track the status of sub Task/Sub jobplans. 

     

    is there any way to perform this ? i.e. to get the sub task runid etc?

     

    Many Thanks in advance



  • 2.  Re: How to Get sub jobs/jobplan details of a running JobPlan?

    Posted Oct 30, 2018 03:51 AM

    Hi

     

    here is i am not able to track the status of sub Task/Sub jobplans. 

    the Question is: WHEN do you need the Stati?

     

    At Workflow start you can parse the activation Report of the workflow to get the RUNIDs.

     

    To get the appropriate stati you need to specify, when you need them.

     

    Dependent from this there are several possibilities:

     

    you can create a tracking VARA object that holds the stati of the subjobs, for this I would recomend using 2 includes (one that creates & clears the tracking vara @Workflow start and one in every job (prescript,postscript, ..) to update its status.

     

    if you need it after the workfow was executed you can use a script in a loop which parses the activation Report of workflow and every child object to get status and runid.

     

     

    So the basic question is:what do you need exactly and for which purpose.

     

    cheers, Wolfgang