BR is not triggering

Community Alums
Not applicable

Hi experts,

I have 2 business rules which are triggered after the stage and state value is changed.

I'm updating multiple records with the help of UI action, now what actually happening is, UI action is working fine its setting the field "stage = Finalize" and "state = Sanitize". And at this point my 2 after BRs should trigger which are triggered

1.  "stage = Finalize" and "state = Sanitize" and set it to "stage = Finalize" and "state = Issue".

2.  "stage = Finalize" and "state = Issue" and set it to "stage = Response" and "state = Evaluate".

 

But when when I'm sending multiple records only the first record triggers the BR and I see the value updates as "response and evaluate" rest of the records are not triggering the BR.

In SS1 and SS2 you can see SS1 is triggering the BR but not SS2. I also added 2 screenshot for BR.

Thank you in advance!

1 ACCEPTED SOLUTION

I don't understand how you are using current.update when selecting one or multiple records selected in a list view.  There must be more to it than that.

View solution in original post

9 REPLIES 9

What does the code of your UI Action look like?

Community Alums
Not applicable

There is actually no code in that its just "current.update()", we are setting the field value in action tab of the BR.

I don't understand how you are using current.update when selecting one or multiple records selected in a list view.  There must be more to it than that.

Community Alums
Not applicable

So, first I'm sending those selected records to a SI which updates the stage to "finalize" and state to "Sanitize". Than my first BR should run which moves the state from "Sanitize" to "issue" and then 2nd BR which changes stage from "Finalize" to "response" and state "Issue" to "Evaluate". Currently we are just skipping the Finalize's Sanitize and Issue state as its early in the project, we don't what is the process in those states for now we just need to move them From Finalize to Response with BR.

Navdeep_rahiya_0-1727271576521.png

 

Community Alums
Not applicable

Hi Brad,

Thanks for pointing it out I figured out the issue, so on the second BR there is some code which is setting workflow to false. And I think that's why only 1 records is triggering the BR as during 2nd BR execution it sets the workflow to false.