business rules is not working without current.update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2024 02:06 AM
insert and update business rule not working without current.update syntax in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2024 03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2024 03:07 AM
If it is a before BR it will work.
After BR wont work without it but you should not update the current record in after BR.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2024 05:18 AM
We are using the After Insert and update BR to push some of the form field's value into one field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2024 05:55 AM - edited ‎12-02-2024 05:57 AM
Hi @krishnaredd ,
Avoid current. update()
Try Glide to that Record table and update the record.
current.setWorkflow(false); // Prevents recursive triggers
current.update();