Business Rule Condition Script Evaluated Even When Filter Conditions Are Not Met?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi All,
I have a Business Rule on sc_task with filter conditions for only two specific catalog items.
I noticed that an update on a task belonging to a different catalog item was still triggering the Condition script. To test, I added:
gs.log('Condition evaluated for ' + current.number);
and I can see the log being generated even when the record does not meet the filter conditions.
My understanding was that the execution order is:
Filter Conditions
→ Condition
→ Script
So I'm wondering:
Why is the Condition script being evaluated when the record does not satisfy the filter conditions? Is this expected behavior in ServiceNow?
Thanks in advance for any insights.
0 REPLIES 0
