Professional Documents
Culture Documents
Approach
Create an activity rule GetSkilledOperators with the steps displayed in the following
image.
Detailed Steps
1. Create an activity GetSkilledOperators in RGB-Warranty-Work class.
2. In step 1, use the method Page-Remove to remove the AllOperators page from the
clipboard.
4. In step 3, loop through the AllOperators page list using for each embedded page.
5. Right-click step 3 and click Add Child.
6. In Step 3.1, as shown in the following image, use the Property-Set method to
populate the local variable count.
7. In step 3.2, for each embedded page in AllOperators, loop through the pySkills
page list and use the method Page-Copy. The parameters for the Page-Copy
method are:
CopyFrom = AllOperators.pxResults(Local.count)
CopyInto = FilteredOperators.pxResults(<APPEND>)
8. In step 3.2, add a when condition to the Page-Copy step that checks pySkillName
with the parameter passed, as shown in the following image.
The operators whose skill name match the parameter are copied to
FilteredOperators pagelist.
3. Click Action and click Run to execute the activity with the parameter as
French.
5. The details of the operators with matching skills are given in the
FilteredOperators.pxResults as shown in the following image.