- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2017 01:44 AM
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:
Again I am replying to the same mail by send an attachment to my instance,,,,as inbound action.......so in activity it captures as:
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....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2017 01:47 AM
Hi Manisha,
That business rule is async insert. can you also mark it as update and try.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2017 03:37 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2017 04:08 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2017 04:14 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader