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 Apps
Answered

SET function using

(0) ShareShare
ReportReport
Posted on by 173

Dear All,

 

I would like to create a new variable. I tried to code it but unfortunately failed. 

 

Set(
 AssignToMentor,
 Planner.CreateTask(
 SelectedPlan.id,
 TaskText_1.Selected.Title,
 {dueDateTime:DueDatePicker_1.SelectedDate,
 assignments: AssignToMentor.id
 )
)

 

 Can you help me?

Categories:
I have the same question (0)
  • Verified answer
    v-tiribe Profile Picture
    Microsoft Employee on at

    Hello @akosbanar ,

     

    In case the parameter values are correct, i believe that you may be receiving a syntax error because it seems you are not closing the "{" that you are opening on the dueDateTime:

     

    v-tiribe_0-1618848608730.png

    If it is not due to that, please share the actual error message you are receiving and check if the parameters are populated according the documentation:

     

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

     

    Best regards,

    Tiago Ribeiro | Power Platform Support Engineer

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard