In my MS Form I ask the task priority in a drop down.
When I create the Planner Task step in flow it displays the Priority field.
If I insert the Flow information, I receive an error.
The request is invalid:
Cannot convert the literal 'Urgent' to the expected type 'Edm.Int32'.
I see that it appears to be expecting a number from 0-10.
How can I translate this?
I believe it is an expression, but do not know how I would set this up.
Thanks in advance!
@Anonymous, @elzool : I was wondering if you found a solution for this problem.
I have the same issue. Not sure how to switch the value in Power Automate from "urgent" to 1 nor an efficient way considering there are 4 possible choices
Hello @v-chenzhi ,
Thank you for the information. I have seen that before and understand it utilizes a number reference. What I am unable to put together is what I need to do to assemble a proper expression. Having not worked with them yet it is a bit of a mystery to me.
Thank you
Hi @elzool ,
The Crate a task Priority needs an integer.
Currently, Planner sets the value 1 for "urgent", 3 for "important", 5 for "medium", and 9 for "low".
Here is a document for your reference:
https://docs.microsoft.com/en-us/connectors/planner/#create-a-task-(preview)
Best Regards,
Zhi Chen
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2