Urgent | Help me Write Business Rule. send a Email notification just after 2 hrs of INC creation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 12:40 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 12:56 PM
You can consider using flow designer to satisfy your requirements.
https://www.youtube.com/watch?v=2Oy1td1H0BE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2023 11:48 PM
Its best to go with Flow designer instead of a Business Rule. Follow the below steps and attaching the Images of the flow for your reference
1. Create a flow with Trigger condition as "Record Created" - Incident.
2. In actions, select "Wait for Condition" - Drag n Drop the Incident record, set conditions to active=true, add 2 hours.
3. In actions, select "send notification" - select the notification that you've created.
4. Complete the flow to automate the notification process.
Please mark as help if your query is resolved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2023 12:50 AM
Register an event in your event registry and create your notification with trigger as the event fired and select the event name you created earlier.
Then, you can use the following script in your after insert business rule.
(function executeRule(current, previous){
var gdt = new GlideDateTime();
gdt.addSeconds(7200);
gs.eventQueueScheduled("YOUR_EVENT_NAME", current, "", "", gdt);
})(current, previous);
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh