Not able to get previous value in business rule
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2023 08:09 AM
Hi All,
I want to fetch the previous value of assignment group in after Insert/update BR, but I am not getting the previous value.
gs.log("ag"+previous.assignment_group.getDisplayValue());
When I am updating the work notes and I have not updated the assignment group value, but I am getting current assignment group value instead of previous value.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2023 08:18 AM
Hi @Saranya2,
In After insert/update business rule if you change the assignment group, then you will get previous value.
Otherwise both current and previous value will be same.
Thanks,
Sagar Pagar
The world works with ServiceNow