In async business rule using 'changes' or 'changesTo' condition is it good practice or bad practice ?

RatneshTSN
Giga Guru

In async business rule using 'changes' or 'changesTo' condition is it good practice or bad practice ?

6 REPLIES 6

Joel Millwood2
Kilo Guru

Hi Ratnesh,

It is fine to use the conditions you mentioned on an Aync Business Rule but they can only be used in the condition builder and condition field. See the following Product Documentation for more information: How business rules work.

The following community post also goes into Async Buisiness rules in great detail and the performance considerations / implications  if you are up for a bit of reading: Performance considerations when using ASYNC Business Rules.

Thank you, I will read more on provided link. I am looking from performance perspective, how it impacts.

You're most welcome Ratnesh. After reviewing the information provided, please feel free to mark my answer as correct so that your question is removed from the unanswered list and so that we may assist other community members in finding this information. Best Regards, Joel.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Ratnesh,

That would work only in condition field and not in script section since async business rule don't have access to previous object.

it works in condition since condition is evaluated instantly hence in the condition changeTo and changesFrom work.

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader