Hi All,
My requirement is to read a file for specific string and if string is present execute the process step and if not present skip the step in Udeploy. This we need to define and checked in pre conditions.
I don't have knowledge of Java Script please can any one suggest how to add JS code for this in preconditions
Answer by LaraZiosi (2731) | Mar 14, 2017 at 12:26 PM
Preconditions are just expressions that evaluate to true or false, as explained here:
https://developer.ibm.com/answers/questions/8241/precondition-syntax.html
I could not read a file in a precondition. I think that you could read the file in a previous step, parse the contents, set an output property, and then test for that property in the precondition of a subsequent step.