- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2024 06:57 AM - edited ‎08-17-2024 07:01 AM
Im not sure what i am doing wrong haha.
when a record is created, and there is a after business rule that sets active to false, it does not work for some reason:
 
 
if i set the business rule to before it works.
here is a small video:
https://youtu.be/spq_8dQsuUA
if the rule was working when is set to after, would i get the updated record or would i have to refresh the page to see the updated record?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2024 01:09 PM
Yes thats the expected behavior, because you should not do this after, you should do this before.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2024 01:09 PM
Yes thats the expected behavior, because you should not do this after, you should do this before.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2024 12:19 PM
Also see this (bit old, though still valid):
https://www.servicenow.com/community/developer-forum/business-rule-not-setting-values-on-incident/m-...
"It looks like you're running this on when = after, which you can't use to set values"
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field