I want to query only records which were created 3, 7, 14 days ago from current time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 04:36 AM
Hi,
I need to send reminder to the approvers who did not approve it for last 3 days, 7 days, 14 days since the Policy Exception record got created-
1. I created 3 Events
2. 3 Notifications
3.1 Scheduled job (Where time zone is US/Central) with below script -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 04:47 AM
Why not make it easy on yourself and create a flow? On creation of the record you start with a wait condition, after the wait period you check the state, if that's not the correct one, use the 'send notification' action, then another wait, etc. And if on any of those waits it turns out that a reaction did come in, you can just end the flow.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 06:51 AM
Thank You for you response!
Could you please help with the flow ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2024 02:46 AM
What help do you need?
Create a flow with the trigger on creation of your record.
Use the flow logic 'wait for a duration of time' and then do a check on the record you have from the trigger, to see if it has been updated (state still on 6). Then use the 'send notification' action to trigger your notification. If it's not on state 6, you end the flow. After the notification you add the next 'wait a duration of time' logic, etc.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark