I need to be able to send various emails depending on which rate segment is selected on a form. The field is a check box that can be multi-selected. I am currently using switch and I know that switch can only use text or list ids. What would be the best and easiest approach to be able to send specific emails to each rate segment? Right now my workflow just skips entirely over the switch actions. Please see workflow screenshot attached.
Using Switch with check boxes on Form
Best answer by Aleximo
okay.
so first u have to lookup the value from ur multiple choice field and save it in a collection varible (CollTopic)



after that u have to split ur values in the collection variable (CollTopic) and save the new values in another collection variable (or in the same CollTopic like i do)


now the last step:

in the for each element u have to create two variables one text and one YES/NO variable and set it up like this:


in the first "if else" we check if the varSingleValueTopic is empty:


if the variable is empty it will go to the right and set the YES / NO variable to Yes (this will stop the loop "for each"):


now the part is a bit repetitive... u have to do this step for each of ur single values that are possible to choose (PGS, Azusa, Space Components, Astro, Launch Vehicles, LV-MDS):
my example is for PGS:

set up the "if else" like this:
check if the text variable (varSingleValueTopic) --- CONTAINS --- the value: PGS .... if its yes make an email notification on the "yes" path. if not then go to next "if else" and check if the text variable --- CONTAINS --- the value: Azusa.... and so on till all 6 are complete.

thats it.
let me know if u have any questions.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
