Automic Workload Automation

Expand all | Collapse all

I would like to be able to accomplish the scenario handling within the job and not upon post process

  • 1.  I would like to be able to accomplish the scenario handling within the job and not upon post process

    Posted Sep 28, 2017 02:52 PM
    UC4 calls a Linux/UNIX script on a target system. UC4 waits for the UNIX/Linux script to complete processing and then stores and processes the text returned. Processing the returned text will determine next steps. 

    VARIABLE = Run the Linux/UNIX script /usr/local/bin/pass_fail.sh on the target system and capture the text produced by the script. 

    The script output text will be either “PASS” or “FAIL” 


    Then I would like UC4 to evaluate the returned data 

    if value of VARIABLE equals “FAIL” 
    then 
    proceed to error processing 
    else 
    proceed to the next step 


  • 2.  I would like to be able to accomplish the scenario handling within the job and not upon post process

    Posted Sep 28, 2017 03:12 PM
    if value of VARIABLE equals “FAIL” 
    then 
    proceed to error processing 
    else 
    proceed to the next step                

    this has to be done on unix side instead of the jobs PostProcess.

    in general its better to put the script's content into the unix job instead of just calling a shellscript.