Greetings all,
I am currently using the template provided by Microsoft to create planner tasks from flagged emails in outlook.
It works fine, however it creates errors when there are multiple receivers of the email in the 'to' field that are outside the organization.
I am looking for a way to exclude those people from the assigned task id field.
Perhaps something like only assign the task to the email/person whose email has '@corp.test.com' etc.
What's a good way to do this?
Thanks in advance.
Solved! Go to Solution.
Hi @tylerlacanle,
So you want to remove these emails which not contains '@corp.test.com', right? You could refer to the following steps to do it:
split(outputs('Compose'),';')
string('@cory.test.com')
join(body('Filter_array'),';')
Run result:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tylerlacanle,
There is nothing needs to input in the item() function, it just contains item().
The From field in the Filter query action is output of Compose 2 action.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tylerlacanle,
So you want to remove these emails which not contains '@corp.test.com', right? You could refer to the following steps to do it:
split(outputs('Compose'),';')
string('@cory.test.com')
join(body('Filter_array'),';')
Run result:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, thanks for the reply!
For the filter array action, what should be the input for the item() function? I am currently stuck on that part.
"The 'from' property value in the 'query' action inputs is of type 'String'. The value must be an array." The error message that points at the filter action.
Hi @tylerlacanle,
There is nothing needs to input in the item() function, it just contains item().
The From field in the Filter query action is output of Compose 2 action.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers!
User | Count |
---|---|
93 | |
46 | |
20 | |
20 | |
16 |
User | Count |
---|---|
134 | |
53 | |
44 | |
36 | |
26 |