Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

In which bsiness rule we do not have previous parameter

Gangadhar540-
Tera Contributor

In which bsiness rule we do not have previous parameter

2 ACCEPTED SOLUTIONS

Ravi Chandra_K
Kilo Patron

Hello @Gangadhar540- 

previous object is not available for Async business rule.

 

  • Asynchronous business rules do not have access to the previous version of a record, so the GlideElement changes() , changesTo() , and changesFrom() methods do not work with the asynchronous rule script. However, the Condition Builder and Condition Field (advanced view) support the changes() , changesTo() , and changesFrom() methods .

Please mark the answer as helpful and correct if helped.

Kind Regards,

Ravi

 

View solution in original post

Bhavya11
Mega Patron

Hi @Gangadhar540- ,

 

The previous value is no longer available for async business rule.

 

 

Thanks,

BK


Regards
BK
LinkedIn: https://www.linkedin.com/in/bhavyashree-karanth-55032a121
YouTube: https://www.youtube.com/@NowWithBhavya

View solution in original post

2 REPLIES 2

Ravi Chandra_K
Kilo Patron

Hello @Gangadhar540- 

previous object is not available for Async business rule.

 

  • Asynchronous business rules do not have access to the previous version of a record, so the GlideElement changes() , changesTo() , and changesFrom() methods do not work with the asynchronous rule script. However, the Condition Builder and Condition Field (advanced view) support the changes() , changesTo() , and changesFrom() methods .

Please mark the answer as helpful and correct if helped.

Kind Regards,

Ravi

 

Bhavya11
Mega Patron

Hi @Gangadhar540- ,

 

The previous value is no longer available for async business rule.

 

 

Thanks,

BK


Regards
BK
LinkedIn: https://www.linkedin.com/in/bhavyashree-karanth-55032a121
YouTube: https://www.youtube.com/@NowWithBhavya