Business Rule when to run Filter conditions vs Advanced Tab condition

Akanksha Rawoo1
Tera Contributor

In a Busines rule if we have When to Run Filter condition and Advanced tab Condition as well, then which condition will be executed first.

5 REPLIES 5

@Igor Kochetkov

I think your question to ChatGPT wasn't specific enough, when I tried the following question:

Within Servicenow if the advanced conditions and filter conditions are populated on a business rule, which conditions are used

Reply:

In ServiceNow, when both advanced conditions and filter conditions are populated on a business rule, both conditions are used to evaluate the rule. The advanced conditions and filter conditions work together to determine whether the actions specified in the business rule should be executed.

Advanced conditions are typically written using GlideRecord queries and allow you to define complex conditions based on multiple tables and fields. These conditions are evaluated first, and if they evaluate to true, the rule proceeds to evaluate the filter conditions.

Filter conditions, on the other hand, are simpler conditions defined using the condition builder within the business rule. They usually involve comparisons between fields or variables and provide a more straightforward way to specify conditions. Filter conditions are evaluated after the advanced conditions, and if they also evaluate to true, the actions specified in the business rule are executed.

By using both advanced conditions and filter conditions, you can create more sophisticated and granular rules that take into account various conditions and criteria before executing actions in ServiceNow.