Previous Topic: Add a Manage Resources Operator to a ProcessNext Topic: Check for and Respond to Unavailable Resources


Define Resource Actions

You can set the action you want each Manage Resources operator to take. Possible actions include taking and freeing units or locking and unlocking resources.

Follow these steps:

  1. In the Process Designer, double-click a Manage Resources operator.
  2. In the Properties palette, click the Add button. You can create multiple actions for multiple resources within one resource operator.

    The Action Properties dialog appears.

  3. In the Resources object field, specify the resource object that you want to use. You can either enter the full path to the object in the automation library or click the browse button to locate the object.
  4. (Optional) Click Open to view or edit the resources in the object.
  5. In the Resource name field, enter the name of the resource or an expression.

    Note: Both the Resource Path and Resource Name fields accept expressions. Enclose any literal strings between double quotation marks.

  6. In the Action field, select the action that you want the resource to perform from the drop-down list:
    Take Units

    Takes the number of resource units specified in the Amount field.

    Free Units

    Makes the number of resources specified in the Amount field available.

    Lock Resource

    Locks the resource so other resource operators cannot take resource units or lock the resource. Actions can still free resource units that were taken before a resource was locked, but the freed units will not be available until after the resource is unlocked.

    Unlock Resource

    Unlocks a locked resource.

  7. When taking or freeing resource units, specify a quantity in the Amount field.
  8. Click Save and Close.

    The new action is added to the Action list.

    Notes: To remove an action from the Action list, click the action, and then click the Delete button. To edit an existing action, click the action and then click the Edit button. To view a selected action in a process that is not checked out, click the View button.

The following graphic shows two examples.