01-25-2018 02:06 PM - edited 03-14-2019 05:54 PM
I have a script that uses the Trigger Application step to trigger another script. The triggered script runs properly and all variables are passed via Context. Everything is working as expected, however, when the triggered script ends, the "Invalid" branch is taken. How can I ensure the "Successful" branch is taken? I have at the end of the triggered script "Set Contact Info" on the "--Triggering Contact--" to handled. However, this does not make it take the successful branch. Thank you for your help!
Solved! Go to Solution.
01-25-2018 02:22 PM
In case anyone else is needing this information. It was the fact that I had a "Set Contact Info" step in my triggered script and I was setting the "--Triggering Contact--" to handled. As soon as I removed that step, the script now returns properly and goes down the Successful branch.
01-25-2018 02:22 PM
In case anyone else is needing this information. It was the fact that I had a "Set Contact Info" step in my triggered script and I was setting the "--Triggering Contact--" to handled. As soon as I removed that step, the script now returns properly and goes down the Successful branch.
01-28-2018 09:33 AM
01-30-2018 05:26 AM
Jonathan, Thank you for you warning. I am catching exceptions, however, I am not using the On Exception Goto step. So far, exception handling seems to be working properly. My applications are somewhat large, and a subflow makes debugging very difficult.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide