Can an AND statement be used for a Switch Expression?

Our company will be utilizing multiple values returned from 2 APIs that we want to assign the returned values as Tasks. From there we need to drive call flow paths where for example results could include Task.Color and Task.Number. So Case 1 would be if Color = Purple and Number = 1, Case 2 Color = Red and Number = 2, Case 3 Color = Green and Number = 3, etc. But I'd only want the Case paths to be followed if both values match. I have a functional version of this flow based on individual Task values but haven't found a working AND statement. Any help would be appreciated!

Thanks!!

Hello,

You can use a Switch action in your Architect flow, and define/set multiple Cases.
You can define the Case as an Expression and use conditions in it.
Something like this: `Task.Color == "red" AND Task.Number == 1``

Regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.