I am trying to write what I think should be a very simple flow where a planner task is created based on a outlook calendar event that then assigns the task in planner to attendees of the outlook event. This is what I have so far
If I take out the assigned user ID the task creates ok. I just cannot get it to assign
Any ideas?
Hi @smithj,
If you want to create tasks for individuals, I think you should configure your flow as below:
Since the email address is splitted with a semi colon, so I used Filter array to remove the blank string, then loop through the array of attendee email address, create task for each user.
split(outputs('Compose'),';')
empty(item())
Hi @smithj
Pls refer the below sample for creating task when an outlook event is created. Here I have used 'When a new event is created (V3)' trigger:
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks
this is the error i get:
The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_2')?['EmailAddress']' is of type 'Object'. The result must be a valid array.
WarrenBelz
146,731
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,075
Most Valuable Professional