Hi
I created a nested ifs expression in the Apply Each but some went through some didn't.
I received this error
Unable to process template language expressions in action 'Compose_-_priority_name' inputs at line '0' and column '0': 'The template language function 'if' expects three parameter: the condition to test as the first parameter, the value to return if the condition is true as the second parameter, and the value to return if the condition is false as the third parameter. The function was invoked with '2' parameter(s). Please see https://aka.ms/logicexpressions#if for usage details.'.
Here is the expression
if(equals(outputs('Compose_-_priority'),1),'Urgent',
if(equals(outputs('Compose_-_priority'),3),'Important',
if(equals(outputs('Compose_-_priority'),5),'Medium',
if(equals(outputs('Compose_-_priority'),9),'Low'
))))
I don't understand what am I doing wrong?