stop Async Business rule to run on insert

RC19
Tera Contributor

Hello All,

 

I have one Async business rule on Incident and I want to run it only on update . If i uncheck insert (or) even if i add !current.isNewRecord() in condition of that BR, it is still getting triggered when incident is created. Please help me know how to stop this async BR from running on insert of incident record.

6 REPLIES 6

OlaN
Giga Sage
Giga Sage

Hi,

There is also the option of running this with a Flow instead of using a Business rule.

You can specify if it should run on insert or update of record, or both.

flow-record-updated-trigger.png

SwarnadeepNandy
Mega Sage

Hello @RC19,

 

As @Ankur Bawiskar mentioned, if you unCheck the Insert check box, asynch BR doesn't trigger on insert.

I tested this in my PDI, and it is working perfectly fine.

But current.operation() returns null for asynch BR, as state of current object is kind of lost during asynch BR run.

 

Hope this helps.

 

Kind Regards,

Swarnadeep Nandy