I want my business rule to run when I click on a particular UI action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2021 10:37 PM
I have a business rule, which must only run when I select "Complete" UI action. How can I make it happen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2021 10:41 PM
That UI Action must update something on the record for the Business rule to trigger.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2021 10:42 PM
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..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2021 10:48 PM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2021 10:57 PM
Can you list out conditions of all BRs which you want to run