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
Super User II
Super User II

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.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,244)