After creating the operations, you must create links between these operations.
-
Double-click the Bind Object operation.
The Bind Object operation tab opens.
-
Enter ExtObj in the Relative Name field and click OK.
This retrieves the extended object at execution.
- Double-click QueryComponent.1.
The
Query Component dialog box opens.
- In the PLM type scrolling list, select the type you want to use, Product DS in our example. The attributes available for this type are displayed in the Available attributes on the chosen PLM type area.
- Use the Up arrow to select PLM_ExternalID and LOCKUSER.
- Double-click the PLM_ExternalID line in the Attributes Used to Define the Query area. The Create or modify attribute dialog box opens.
- Enter the attribute value, and click OK.
- Check Multiple results.
- Click OK when done.
- Double-click GetItemFromList.1.
The Get item from List dialog box opens.
- Select the List field and click the Query Component operation in the tree.
=QueryComponent.1\ComponentsList appears in the List field. Click OK.
- Expand the GetItemFromList.1 node.
- Right-click the Index variable, select Index object >Link To and click the Iteration variable located below Loop.1.
- Double-click ManagePLMComponents.1.
The Insert components dialog box opens.
- Click the BindOjbect.
- Expand the GetItemFromList node, click the Existing component field and click the GetItemFromList.
- Right-click the Link variable, select Link object >Link To and click the List variable located below the GetItemFromList operation.
Both variables are now linked.
- Expand the Loop.1 node.
- Right-click the NumberOfIterations variable, select NumberOfIterations object > Link To and click the ListSize variable located below the ComponentsList variable of the QueryComponent operation.
- Click OK and save.
Your application is now created.