Not able to get previous value in business rule

Saranya2
Tera Contributor

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

Sagar Pagar
Tera Patron

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