Hey there,
I'm getting an error on my flow when I try to evaluate a Switch condition and trying to evaluate the Choice value. Here is the error below:
The execution of template action 'Switch' failed: The result of the evaluation of 'scope' action expression '@items('Apply_to_each')?['RevisionFrequency']?['Value']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer'.
And here is a screenshot:
What I'm doing is I want to check if the Choice value corresponds to any of my cases that I set up, but that error shows up. Can anyone tell me what I'm doing wrong?
Hi @hexarthrius,
I am glad you have solved your problem, the reason for the error will report is that if the condition couldn't get the expected type's value, it will report that type of alarm.
If your problem has been solved, You could go ahead and mark your post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Update: So far so good, I was guessing that the list has blank values so I put a condition to check if there is value by putting on is equal to Null
The documents are around 405, I'll check if this yields some positive results. But still looking for some answers if anyone has already encountered and solved this.
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional