The process tab does get executed, but you might want to go for the post-process tab else you would need to :RSET instead of :SET. What you also might to is "write to job report" instead of saving data in a variable and then use prep_process_report in the post process.
I'm not a fan of the webservice object. It tries to ease the work with webservices but it often fails and makes things more complicated.
------------------------------
Swisscom Automation Engineer & PE Membership Creator
Entfessle mehr Automic Wissen mehr Automic Tools
https://membership.philippelmer.com/------------------------------
Original Message:
Sent: 11-12-2019 05:25 PM
From: Cole Siegel
Subject: How to check if array variable is initialized
Update: It seems that Process tab of REST web service job does not ever get executed, maybe this is the reason the workaround is not working. Does anyone have a suggestion?
Original Message:
Sent: 11-12-2019 04:18 PM
From: Cole Siegel
Subject: How to check if array variable is initialized
Hi all,
I am parsing a REST response using JSONPath to output into an array variable. When I try to use the array there are errors if the web service response is empty (The array 'ARRAY#' has not yet been defined.
How can I check if the variable has been assigned?
I have seen some other users post a workaround to set the variable to itself, but this does not work with arrays in my testing.
Thanks for any info!