03-21-2018 06:07 AM - edited 03-14-2019 06:03 PM
I have a script that I am getting string variables from an API call, then need to run a check to see which value they have been set to, they can be either a P, E, C, B, or empty. I have written the script with 5 IF statements, one for each variable with the false for all but the last one sending that to the next IF statement. The True side is when there is a match. Is it possible to combine all 5 of these IF's into 1 statement? The variable I collect is a String value and I don't know of anyway to do this currently, hoping someone else does.
Mark
Solved! Go to Solution.
03-21-2018 06:14 AM
The Switch Step will do that for you.
03-21-2018 06:14 AM
The Switch Step will do that for you.
03-21-2018 10:31 AM
I had completely forgotten about using Switch Step, thanks works like a charm.
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