Running an Automation Chain inside a Script

I'm running an IF statement in a run script automation. Basically, it will check to see if a pathway to a document exists. Put simply:

“if pathway does exist ==> Run Automation chainA”

“if pathway does NOT exist ==> Run Automation chainB”

I have both chain_A and chain_B made in Studio. I'm just not sure how to call them in a java script automation and I'm not sure how to do a test to see if the pathways exist or not. I know how to do if statements in Java, just not ones that test for existence. Any ideas?

Thanks!!!!

0 votes

0 answers

1532 views

ANSWER