Choice (Multiple selection) logic?

  • 21 July 2020
  • 1 reply
  • 7 views

Hi, 

 

I am trying to create a workflow that uses logic based on the results of a choice-multiple. What I want to know is if the output of a choice-multiple is a string or collection? 

If it is a collection can I just use the check if collection contains function? 

If it does output as a string is there a way of setting up the workflow so that if "option one" is selected then... 

 

Thanks  


1 reply

Userlevel 4
Badge +9
It is stored as a string separated with semicolons.
In your workflow, you can just split on the semicolon to get a collection and then use parallel branch with "run if"actions (a switch won't work if you have several choices selected).
I suppose you can do it in the form directly depending on the type of form you're using (classic, new responsive, ...)

Reply