cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akosbanar
Advocate IV
Advocate IV

SET function using

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?

1 ACCEPTED SOLUTION

Accepted Solutions
v-tiribe
Microsoft
Microsoft

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

 

View solution in original post

1 REPLY 1
v-tiribe
Microsoft
Microsoft

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

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,926)