Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

I want my business rule to run when I click on a particular UI action.

Not applicable

I have a business rule, which must only run when I select "Complete" UI action. How can I make it happen?

9 REPLIES 9

Mukesh24
Kilo Guru

That UI Action must update something on the record for the Business rule to trigger.

Ujjawal Vishnoi
Mega Sage

Hi Bharath,

As we know Business rule and UI action both run on Server side. I would recommend to use same piece of code in your UI action as written in Business rule. So That's how you can run your code.

 

But if you still want to do this then you need to fulfil the when to run condition from your UI action

 

Hope this helps..

Not applicable

By clicking the same UI action I want many other 'business rules' to run as well. That's the reason I didn't do it completely on UI action. I want to find a way to run the business rule  to run when the form is inserted or  updated using "complete" UI action.

Can you list out conditions of all BRs which you want to run