cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Filtering for text within Outlook event subject that contains brackets

I have built a flow that takes an event from Outlook and creates a planner task that is due 14 days before the event.

I would like to be able to filter the events as only certain events in my calendar require a planner task.

I have put in a filter array that searches for events that start with (M). I think the problem is that the flow expression ignores the brackets around the M.

Any ideas how I can get it to look for the (M) at the start of the event subject?

 
 

 

flow.png

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User III
Super User III

Hi @KeithPowell 

 

You are using the wrong action to filter the subject. The trigger only returns set of values not as a collection array.

 

Replace the Filter Array with a simple IF condition

 

image.png

 

Yes I agree it is odd that Filter Array returns null and shows as the step is executed successfully.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

Community Support
Community Support

 

Hi @KeithPowell ,

 

It seems that you only want to judge a single event, you could use Condition directly to judge.

250.PNG

The Filter array is used to filter the data whose output value is a collection, like this:

https://docs.microsoft.com/en-gb/power-automate/data-operations#use-the-filter-array-action

251.PNG

Hope that makes sense.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Super User III
Super User III

Hi @KeithPowell 

 

You are using the wrong action to filter the subject. The trigger only returns set of values not as a collection array.

 

Replace the Filter Array with a simple IF condition

 

image.png

 

Yes I agree it is odd that Filter Array returns null and shows as the step is executed successfully.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

Power Automate Video Tutorials

View solution in original post

Community Support
Community Support

 

Hi @KeithPowell ,

 

It seems that you only want to judge a single event, you could use Condition directly to judge.

250.PNG

The Filter array is used to filter the data whose output value is a collection, like this:

https://docs.microsoft.com/en-gb/power-automate/data-operations#use-the-filter-array-action

251.PNG

Hope that makes sense.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (52,769)