Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
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
Kilo Patron
Kilo Patron

Hi @Gangadhar540- ,

 

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

 

 

Thanks,

BK

View solution in original post

2 REPLIES 2

Ravi Chandra_K
Kilo Patron
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
Kilo Patron
Kilo Patron

Hi @Gangadhar540- ,

 

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

 

 

Thanks,

BK