Define queue operations
An operation is a function within a step processor that performs a specific
task. In Process Configuration Console,
you can associate an operation with a queue. Before you can do so, you
need the following details from the developer of each step processor that
will use the operation:
- The name of the operation
- The name of each parameter that the operation expects, and an optional
description
- The data type of each parameter
- How the data for each parameter passes between the operation and
the work item
For more information, see About
operations.
To add an operation
- If the Properties dialog box is not already displayed, select the
icon of the queue you want to modify and click Properties
on the
toolbar.
- Select the Operations tab.
- In the first available line in the Name
box, enter the name of the operation. The name must conform to standard Process Engine naming conventions.
TIP To
copy from an existing operation, select the operation and click Copy.
- Optionally, enter an Operation Description
for the highlighted operation.
- Add the parameters required by the
operation.
- Click OK when done.
- Click Commit Changes on the toolbar to apply this change to your isolated region. See Commit changes for additional information.
NOTE You cannot delete an operation once it has been committed.
To delete an operation
- On the Operations tab, select the operation you want to delete and click Delete.
- Click OK when done.
- Click Commit Changes on the toolbar to apply this change to your isolated region. See Commit changes for additional information.
To add or delete a
parameter in an operation
- On the Operations tab, select the operation whose parameters you want to change.
- To add a parameter, enter the following information in the Parameters
box:
- Name: The name must conform to
standard Process Engine
naming
conventions.
- Type: Select the data type of
the parameter from the list.
- Access: Select the direction of
the data passing between the operation and the work item:
- Read: A data value that passes
from the work item to the operation.
- Write: A data value that is
generated by the operation and then passed to the work item.
- Read/Write: A data value that
passes from the work item to the operation, where it is processed
and then passed back to the work item.
- Description: Enter an optional
description.
To remove a parameter, click Delete.
CAUTION Use
caution when deleting parameters from and re-transferring an operation
that already exists in the workflow database. If no work items have
entered queue on which the operation is defined, you can safely delete
operation parameters. However, if any work items have entered the
queue and you subsequently delete an operation parameter, the commit
action will fail.
- Click OK when done.
- Click Commit Changes on the toolbar to apply this change to your isolated region. See Commit changes for additional information.
|
|
|