cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CBI_Oshin
Helper II
Helper II

Creating a Incident Response depending on a column

Hi,

 

I want to create a flow where on creation or modification of a sharepoint list item being changed it will get the last 30 days of the tickets and check how many other tickets have the same category. For example, when a ticket is created under the 'hardware' category it will check the last 30 days and if there has been 5 other hardware tickets it will send me an approval email to create the Incident repsonse. The part of the flow is to add an action which checks how many 'hardware' tickets there were in the last 30 days.

 

Hope this makes sense. Please help!

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @CBI_Oshin,

 

Yes, you can add the Apply to each and condition actions after the Get items action, and in the condition, you can add multiple condition to check each item whether is you want. For example, the Modified date is greater or equal to 30 days ago: 

Annotation 2020-01-15 151418.png

 

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.

View solution in original post

2 REPLIES 2
Brad_Groux
Community Champion
Community Champion

You would use the Filter array functionality to accomplish this. If you search filter array, there are many many examples of these data operations. 

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-litu-msft
Community Support
Community Support

Hi @CBI_Oshin,

 

Yes, you can add the Apply to each and condition actions after the Get items action, and in the condition, you can add multiple condition to check each item whether is you want. For example, the Modified date is greater or equal to 30 days ago: 

Annotation 2020-01-15 151418.png

 

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.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,984)