I am using the for each activity to loop through a list of object. In each item, i use switch to seperate each case. The type is string for the switch activity. However, I can only reach the default case in the switch activity. How can i fix this problem?
Hi,
Unfortunately, Case value doesn’t support variable. So, we need to write it as the following, for example.
Regards,
Hi @JackyLeung123,
Before for each, put an assign and do this.
strItem = item.tostring
After that try to put the strItem variable in expression part.
Regards.
Ömer