Switch < T > sample
Do you have a sample for “Switch< T >” activity?
I’m creating a workflow based on a selected value from Combobox but it is not falling into any of the cases.
I have a Display form with Combobox, which returns a string, and I added a Switch<String> activity, but it does not fall into any case. (When I used if activity, it is working).
If you can provide a sample that would be greatly appreciated.
0
-
I got it working, I had to convert using Assign
0 -
Sandeep,
You could also use the Object Type for the argument of the Combobox, and use variableName.toString() as your expression in the Switch<String>, rather than using the Assign activity.
Cheers,
Paul
0 -
I had the same problem. Do not put quotation marks in your switch cases. Ex: (option1 and not "option1") 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare