Which one execute first?

NK13
Tera Contributor

Which one execute first:

Before update Business Rule

>Wait for condition activity in workflow

What I found in web is "wait for condition" activity will evaluate every time when current record is updated. I think workflow activity will be evaluated after update is done in database(After Before  Update BR executed).

I have scenario implemented in prod in which after "wait for condition" activity it set assignment group to "P". And One Business rule (type: Before Update) which also set the assignment group to "L".

And final result in assignment group is "L". Can someone Help me understand on this?

I also used field watcher on Assignment group field, found below logs.

find_real_file.png

1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

This should be helpful here

Execution order of scripts and engines | ServiceNow Docs

The Before BR would run first!!

-Anurag

-Anurag

View solution in original post

6 REPLIES 6

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

This should be helpful here

Execution order of scripts and engines | ServiceNow Docs

The Before BR would run first!!

-Anurag

-Anurag

Thanks Anurag