Forum Discussion
skhat88
May 04, 2021Copper Contributor
Power Automate Flow Using Forms - Using Condition/Switch Effectively
Hello, I'm trying to create a power automate flow which branches in two different directions given the response in Forms. Based on the response to the Availability or Demand field in...
RobElliott
May 05, 2021Silver Contributor
skhat88 why not just use a condition as you only have 2 outcomes from the Availability or Demand field? You can test what the value is that is being evaluated in the condition/switch by adding a Compose control and that will indicate what the problem is.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
skhat88
May 05, 2021Copper Contributor
So would the condition be nested within the compose control action?
- RobElliottMay 05, 2021Silver ContributorYes you just a compose into both the green (yes) and red (no) channels.
- skhat88May 06, 2021Copper Contributor
RobElliott So something like this?
I'm not entirely sure what the compose function does, but I added it under the excel actions in both the yes and no conditions.
Regards,
Samir- RobElliottMay 09, 2021Silver ContributorIn this case the Compose is just there so that when you do a check after the flow has run you can see what the value of Availability was in case the flow doesn't run as expected.