Malik_Abdul_8942

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

Discussion created by Malik_Abdul_8942 on Sep 28, 2017
Latest reply on Sep 28, 2017 by Wolfgang_Brueckler_1288
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 

Outcomes