When does this business rule run?

ericgilmore
Tera Guru

I've come across a before business rule with nothing added on the "When to run" tab. It has a script on the Advanced tab, that also has an empty Condition field. It runs against the Problem table, Active and Advanced are selected. The Actions tab is also empty.

 

When does this business rule run? The When field is set to before, but there are no conditions, and none of the operations {Insert, Update, Delete, Query} are selected.

 

So when does this run? Also, is this config documented anywhere?

1 ACCEPTED SOLUTION

Hi,

The scenario you gave above, the BR will not execute under any scenario.

for that BR to run one of the operations need to be checked - {Insert, Update, Delete, Query} 

 

 

-Anurag

View solution in original post

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

No condition means always. It will run always (depending on whether its supposed or run on insert or update or what).

Of no operation is selected(insert, update, delete, query) then it can still run if WHEN field has Display selected.

if WHEN is not display and no operation is selected then it will not run, its probably some bad BR created in error.

-Anurag

So wait a minute. You're saying that because;

Active - [selected]

Advanced - [selected]

 

When to run:

- When [before]

- {Insert, Update, Delete, Query} - NONE SELECTED

- Filter Conditions - NONE

 

Actions:

- [NONE]

 

Advanced

- Condition - [empty]

 

This business rule runs every time the Problem table is acted upon? It doesn't matter what it is?

Where is this documented?

Hi,

The scenario you gave above, the BR will not execute under any scenario.

for that BR to run one of the operations need to be checked - {Insert, Update, Delete, Query} 

 

 

-Anurag