Hello, I created a variable that contains an if condition.
then added this variable to a Switch Action and here it looks in which case it fits.
if I don't put any action in this case then it works, so it already recognizes that it belongs in this case as soon as there is an action in the case it stops.
For Example.
when it fits the "30000" Case, another Switch has to be done.
and I want to add an action to it, my flow gives me this error:
The execution of template action 'Material_Status' failed: the comparison of scope expression evaluation result to case branch value failed 'Template language function 'strongEquals' expects parameters of same type, but found 'String,Integer' distinct types.'.
I've added my Flow wen its working/not working & My Condition and would appreciate any help.

This is my Condition as a Variable:
if(lessOrEquals(triggerOutputs()?['body/ScrapValue'],5000),'5000',if(lessOrEquals(triggerOutputs()?['body/ScrapValue'],30000),'30000',if(lessOrEquals(triggerOutputs()?['body/ScrapValue'],100000),'100000','100001')))

It work here, because its outside the switch.

and here it does not working, its inside the Switch.
But I have to do it IN the switch because there are different actions for each value.
PS: it doesn't work with other actions either