web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Priority in Create a t...
Power Automate
Unanswered

Priority in Create a task v2 (Preview)

(0) ShareShare
ReportReport
Posted on by

I'm new to Power automate and I'm making my first flow. I have done a little bit of programming som 10+ years ago but not much remains of that knowledge. 

 

I have a form that creates tasks in planner. I'm using Create a task v2 (Preview) because I need to set priorities for the tasks but that's where I'm stuck at. I can't figure out how it's supposed to work. In the form the priority they can choose from is a description; "Within a week", "within a month" or "When there is time".

How do I translate those lines into value for the priority field in "create a task v2"? 

Categories:
I have the same question (0)
  • v-chenzhi Profile Picture
    on at

    Hi @Helgar ,

     

    Do you want to set the priority in Create a task?

    Could you please tell me what do you mean ‘In the form the priority they can choose from is a description; "Within a week", "within a month" or "When there is time".’?

    The priority of Task have fixed four options

    vchenzhi_0-1637809813049.png

     

    Do you mean your task bucket?

    vchenzhi_1-1637809813050.png

    You can chose Bucket like this.

    vchenzhi_2-1637809813052.png

    Or set Priority like this

    Priority of the task. Valid range of values is between 0 and 10 (inclusive), with increasing value being lower priority (0 has the highest priority and 10 has the lowest priority). Currently, Planner interprets values 0 and 1 as "urgent", 2 and 3 and 4 as "important", 5, 6, and 7 as "medium", and 8, 9, and 10 as "low". Currently, Planner sets the value 1 for "urgent", 3 for "important", 5 for "medium", and 9 for "low".

    vchenzhi_3-1637809813053.png

    Here is an article for your reference.

    https://docs.microsoft.com/en-us/connectors/planner/#create-a-task-(preview)

     

     

    Best Regards,

    Zhi Chen

  • David_MA Profile Picture
    12,982 Super User 2025 Season 2 on at

    This is an old post, but I was having trouble setting the priority when I used the value of 0. It left it as normal. However, if I set it to 1, it would set it to Urgent which is what I wanted. 

     

    I used the following expression in the Priority field of the Create a task action:

     

    int(if(less(sub(int(formatDateTime(outputs('Get_item')?['body/HearingDate'],'yyyyMMdd')), int(formatDateTime(utcNow(),'yyyyMMdd'))), 4), 1, 6))

     

    If it returns less than 4 days it sets the priority to 1, otherwise it is set to six. You can adjust it to meet your needs. Hopefully this helps someone.

  • Community Power Platform Member Profile Picture
    on at

    I am experiencing issues with this same Create a task (Preview). Specifically, I am passing values from an Excel spreadsheet. I four rows in my test sheet, each task set to one of the four priorities mentioned: 1 for urgent, 3 for important, 5 for medium, and 9 for low. The flow runs successfully however, the priorities are all set to low. When I look at the flow log I see that both the Input and Output values are 9, but my spreadsheet has a different value for each task.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard