Difference between revisions of "Part 2: Implement Rule Sets"

From AgileApps Support Wiki
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
# To update Rule Set '''Complete Order''':
# To update Rule Set '''Complete Order''':
## Edit Rule Set '''Complete Order''' and click '''New Rule'''.  
## Edit Rule Set '''Complete Order''' and click '''New Rule'''.  
## Create a new unconditional Rule called '''Close Order''' that sets the Order '''Status''' to '''Closed''':<br><br>[[File:New _Rule_Close_Order.png|800px]]<br><br>
## Create a new unconditional Rule called '''Close Order''' that sets the Order '''Status''' to '''Closed''':<br><br>[[File:New_Rule_Close_Order.png|800px]]<br><br>
## Click '''Save'''. 
## Click '''Save'''. 
# To update Rule set '''Update Pending''':
# To update Rule set '''Update Pending''':
Line 14: Line 14:
## Create a new unconditional Rule called '''Pending Status''' that sets the Order '''Status''' to '''Pending''':<br><br>[[File:New_Rule_Pending_Status.png|800px]]<br><br>
## Create a new unconditional Rule called '''Pending Status''' that sets the Order '''Status''' to '''Pending''':<br><br>[[File:New_Rule_Pending_Status.png|800px]]<br><br>
## Click '''Save'''.
## Click '''Save'''.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
:{| border="0" align="left" cellpadding="5" cellspacing="1"
|
[[Part 1: Create an Event Rule|Previous]]
|}
:{| border="0" align="right" cellpadding="5" cellspacing="1"
|
[[Part 3: Test the Rules and the Process Model|Next]]
|}

Latest revision as of 11:00, 14 December 2022

In this part, you implement the Rule Sets that you created in Exercise 5.

  1. On the Business Rules page, select Rule Sets:

    Objects Orders Business Rules Rule Sets.png

    You should see the two (empty) Rule Sets that you created in exercise 5 when you added Execute Rule Set steps to the Process Model:
    1. Complete Order
    2. Update Pending
  2. As both empty Rule Sets have been added by the process model editor, they are still disabled.

    RuleSets SouthEastOrders.PNG

    Edit both Rule Sets and enable each.
  3. To update Rule Set Complete Order:
    1. Edit Rule Set Complete Order and click New Rule.
    2. Create a new unconditional Rule called Close Order that sets the Order Status to Closed:

      New Rule Close Order.png

    3. Click Save. 
  4. To update Rule set Update Pending:
    1. Edit the Rule Set Update Pending and click New Rule.
    2. Create a new unconditional Rule called Pending Status that sets the Order Status to Pending:

      New Rule Pending Status.png

    3. Click Save.

Previous

Next