Business Rule not triggered on System update

Mani35
Tera Expert

Hello Guys,

I have one doubt....

I have written a business rule on async insert   , table: sys_attachment.   ,   condition: current.sys_created_by != "rtcUser"

If any attachment is inserted for incident table then this business runs.....

So through email client , I have sent an attachment .....so in activity it captures like this: find_real_file.png

Again I am replying to the same mail by send an attachment to my instance,,,,as inbound action.......so in activity it captures as: find_real_file.png

When the attachment is created by Manisha on that time this business rule is trigerred but when the attachment is created by is sytem then this business rule is not trigerred......

Could anybody tell me why this happens.......

And give me the solution so that the business rule will also triggerred on system update....

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Manisha,



That business rule is async insert. can you also mark it as update and try.



Regards


Ankur


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

View solution in original post

7 REPLIES 7

Hi Manisha,



Can you check any error in system logs during the process of running inbound email action?


Also can you add log statements in the business rule to determine whether the business rule is actually executing or not.



Regards


Ankur


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

Yes ankur,



I gave logs in business rule but it is not triggered when system update..


If updated by any user then the logs comes


Hi Manisha,



Can you share the screenshot for the business rule condition and script both?


Business rule should trigger irrespective of who updates the record.



Regards


Ankur


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