I am trying to use a switch in power automate based on a department code (the code is a number 1,2,3,4 ect). I think the problem may be with the switch feature. The flow runs and the below is the errors given at Apply to each, Switch, and Case steps in the flow:
Apply to each error:
Action Failed. An action failed. No dependent actions succeeded.
Switch error:
Action Failed. An action failed. No dependent actions succeeded.
Case error:
ActionConditionFailed. The execution of template action 'Post_message_in_a_chat_or_channel' failed: an unexpected exception encountered when evaluating branching condition.