|
QUICK STEPS |
| 1 |
Open the entity |
| 2 |
Open the Rules section in the Home tab and create a new logical rule |
| 3 |
Enter the details |
| 4 |
Click OK |
| 5 |
Drag a for loop to the field |
| 6 |
Enter the description, item name, and collection |
| 7 |
Drag the switch under, and inside, the for loop |
| 8 |
Enter the descriptions and expressions |
| 9 |
Drag the decision table to the right of the if block |
| 10 |
Enter the description and ID |
| 11 |
Enter the parameter expressions |
| 12 |
Finish designing the rule |
| 13 |
Drag a return at the end of the for loop |
| 14 |
Enter the description and expression |
| 15 |
Click the Variables icon to add a variable |
| 16 |
Enter the details |
| 17 |
Click OK |
| 18 |
Add the rest of the variables |
| 19 |
Save the rule |
| 20 |
Build the entity rule |
| 21 |
Add an entity scenario |
| 22 |
Add a collection |
| 23 |
Enter any number of items |
| 24 |
Close the item list |
| 25 |
Enter the non-collection input values |
| 26 |
Click the + icon below Expected Value in the Output table |
| 27 |
Enter the Index and Expected values |
| 28 |
Enter the Expected Value for the return |
| 29 |
Run the test |
| 30 |
View the diagram |
| 31 |
View the loop |
| 32 |
View the call to the decision table |
| 33 |
Save the scenario |