I was wondering which activity I should use to set a variable to different values depending on what string is contained in another variable. For example, this is what I want to do:
Variable1 = String
If Variable1 contains “Do This” set Variable2 to “Type 1”
If Variable1 contains “Do That” set Variable2 to “Type 2”
If Variable1 contains “Blah Blah” set Variable2 to “Type 3”
I am trying to use the Pick activity and pick branches to assign the variables, but I am not sure what to use in the Trigger area or if this is even the best way to do what I need.