cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ebDev
Level: Powered On

Create outlook tasks and place them into a created folder

Hi All,

I am creating an onboarding application and have stored the lists of tasks into a Common Data Service Entity.
I have created the folder. However, I noticed that I cannot specify the folderId when creating it (Since the only parameters that can be passed are Name and GroupId).
So my issue is that I cannot store my tasks into that created folder since I cannot seem to identify it.

Additionally, these task lists will be created everytime a new employee is hired, so no values can be hard coded. 

Attached is a snippet of the function in question.

Thank you in advance for any help!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Create outlook tasks and place them into a created folder

@ebDev 

OutlookTasks.CreateTasksFolder will return a payload of information.  If you assign that to a variable, you will have the ID.

UpdateContext({newTask: OutlookTasks.CreateTasksFolder(empLastNameInput.Text & empFirstNameInput.Text & " | Onborading")});

...
..... , folderId: newTask.Id})
...

 

Hope this gets you "back on task" 😉

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Create outlook tasks and place them into a created folder

@ebDev 

OutlookTasks.CreateTasksFolder will return a payload of information.  If you assign that to a variable, you will have the ID.

UpdateContext({newTask: OutlookTasks.CreateTasksFolder(empLastNameInput.Text & empFirstNameInput.Text & " | Onborading")});

...
..... , folderId: newTask.Id})
...

 

Hope this gets you "back on task" 😉

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

ebDev
Level: Powered On

Re: Create outlook tasks and place them into a created folder

thank you so much!

and that pun made my day! 🙂

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 325 members 6,434 guests
Please welcome our newest community members: