- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 06:21 AM
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 04:11 AM
Managed to optimize the code as follows:
using https://www.youtube.com/watch?v=J5mlDzfl-So&t=873s as a guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 07:08 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 07:18 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2023 11:36 PM - edited 12-06-2023 04:13 AM
That is a very valid suggestion. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2023 04:11 AM
Managed to optimize the code as follows:
using https://www.youtube.com/watch?v=J5mlDzfl-So&t=873s as a guide