Order of execution of business rules, ui policy, ui action and script action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2017 10:07 PM
Hi Folks,
May i know which gets order business rules, ui policy, ui action and script action run? wiki does not mention about ui action,ui policy and script action
Thanks
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2017 08:13 PM
Exactly what i was looking for.
Thanks
On Sun, 2 Jul 2017 at 5:45 AM, sachin.namjoshi <
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2018 02:37 PM
So I have a server side UI Action that's setting the state of my Change Request. I have a Business rule that checks for certain fields to be filled out before it can be changed, but the UI Action blows right past my Business Rule. Actually my Business Rule then runs after the state it changed (from the UI Action). Why is that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2018 02:53 PM
Here's a little more detail:
I have a simple UI Action that is a form button that closes a change record:
moveToClosedUnAuth();
function moveToClosedUnAuth(){
current.state = 3;
current.update();
action.setRedirectURL(current); /
}
I have a before Business Rule that checks some things and if they don't check out, gives an error and sets the state back to the previous state:
gs.addErrorMessage('This is a message);
current.state = previous.state;
The problem is the UI Action closes the change (sets the state to "3") and THEN my business rule seems to kick off and give the user and error (that's too late).
Why isn't the business rule kicking off at the time of the UI Action update an sending it to the previous state?
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2018 12:02 PM
Hi Lisa,
Have you had any luck with this order? I also ran into the same issue. Have a UI action client side script which changes the state value and have a Before business rule to validate the state when it's set by the UI action but for some reason my BR is not getting fired.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-11-2021 10:17 PM
Please shre the this Question Information .
1)Order Of Execution Bussiness Rules..
2)What Is The Diff B/W GetRefference and g_scratchPad
3)diff b/w Assncronous and After Business Rules
4)What is the Approval Cordinator
5)Rollback in Workflow?
Please Send Real time Scenarios Examples......