Read multiple specific equipment property attributes
Procedure
In the navigator, click Workflow > Workflows.
From the Workflows list, select the resource you want to work with.
Note: A resource must already have been added in order to select it from this list.
In the Displays panel, click Workflow Management > Workflow Editor.
Click the Workflow Editor tab.
Insert an activity:
At the workflow level:
From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
Note: Activities can exist only between the presubprocess and postsubprocess.
At the subprocess level:
Double-click the local subprocess you want to add the activity to.
From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
On the activity configuration panel, click Configure Method.
The Configure Method dialog box appears, displaying a list of the available call method service providers.
Double-click IEquipment to display the list of available call methods.
Click ReadPropertyAttributesByName, and then click Finish. The input parameters appear on the activity configuration panel.
The input parameters appear in the activity configuration panel.
Configure the call method as follows:
In the attributeNames field, click the ellipsis button to open the String Collection Editor dialog box, where you can enter the names of the attributes you want to read.
Note: Enter only one attribute name per line.
In the Equipment Instance or Class field, click the ellipsis button, and then select the instance or class whose attributes you want to read.
In the propertyName field, enter the name of the property whose attributes you want to read.
Click Save.
Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.