The CreatorCon Call for Content is officially open! Get started here.

Optimizing Flow Logic

vidhya_mouli
Giga Sage

I want that emails notifications/reminders are send to the responsible Assigment groups in case of inactivity depending on the Urgency of the issue.
1. If State is New and Urgency is High

Send every day a reminder for 3 consecutive working days to Assigment Group (till State from New & Person is assigned). After 3 days assign to IT Securities with "Asssignment Group not responsive" message.

 

The flow works as expected. I am just wondering, is there a way to optimize this flow. Instead of checking and sending the mail thrice, can this be done in one step?

 

vidhya_mouli_0-1701785998156.png

 

1 ACCEPTED SOLUTION

vidhya_mouli
Giga Sage

Managed to optimize the code as follows:

vidhya_mouli_0-1701864682686.png

using https://www.youtube.com/watch?v=J5mlDzfl-So&t=873s as a guide

View solution in original post

Discover how to manage overdue approval reminders with Flow Designer. This is one of the most common requests around approvals - "How do I remind people they have outstanding approvals?" This episode shows you the most modern, fastest, and easiest way yet! Join us Mondays and Thursdays at 2PM UTC
4 REPLIES 4

Marco0o1
Tera Sage

Hi @vidhya_mouli ,

 

If Im correctly your flow doesnt have a good performance, just think if you have like 10000 incidents every incident will have 1 flow running in background and that will take a lot of your platform performance, what i can recomend is just create a flow that run as midnight or the start of your working day, then check for all the incidentos those who are not closed and send the emails. Using that logic you just run once a day and dont affect the performance of your platform.

 

Hope that help you.

x2 with this logic. I also wonder what happens if an incident is changed to high urgency but was not initially created at that level. If that scenario is possible in your environment, then this flow wouldn't kick off. But if you run a check script or flow that runs daily (or twice a day, whatever), you'd also find those items.

That is a very valid suggestion. Thank you. 

 

vidhya_mouli
Giga Sage

Managed to optimize the code as follows:

vidhya_mouli_0-1701864682686.png

using https://www.youtube.com/watch?v=J5mlDzfl-So&t=873s as a guide

Discover how to manage overdue approval reminders with Flow Designer. This is one of the most common requests around approvals - "How do I remind people they have outstanding approvals?" This episode shows you the most modern, fastest, and easiest way yet! Join us Mondays and Thursdays at 2PM UTC