Business Rule not running when conditions are met
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 09:27 AM
My business rule was created to change the incident ticket state to "dispatched tech" when the conditions (see below) are met. I am creating the incident via a record producer, when the record is created it sends a notification to the user that the ticket has been opened (this does run) and then this business rule needs to run to send a notification to the service provider that they need to address the ticket. This notification is sent when the state changes to "dispatched tech". I have no idea why the BR is not running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 06:49 PM
Try changing it to "before" insert, not "after". As a rule of thumb, "before" should be used when updating the record triggering the BR, while after is for related records such as those that would be displayed in a related list to the current record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2024 07:28 PM
I tried changing to before and still did not run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2024 07:08 PM
are you sure all the conditions are met when record is created via record producer?
what happens if you create record from table list New button?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2024 07:28 PM
yes, I am sure it meets all the conditions. I added a new condition "work notes changes" and when I added a work note the BR ran. The best way I would like this to work is when the activity show a sent email, (with the other conditions too) but I do not know how to make that happen.