Approve Work Item
By using the Approve Work Item activity, you can approve work items, and continue the paused executions.
General
The General tab contains the following fields.
Field | Module Property? | Description |
---|---|---|
Name | No | The name of the activity in the process definition.
The default value is ApproveWorkItem. |
MDM Connection | Yes | The MDM connection resource establishes a connection to an TIBCO® MDM server, allowing the plug-in to communicate with TIBCO® MDM.
Click
If no matching MDM connections are found, click Create Shared Resource to create one. |
Approve All | Yes | Select this check box to approve all the work items.
Note: The
Maximum Count and
Repository fields display only when the
Approve All check box is selected. And when this check box is not selected, the
WorkItemReference node is added in
WorkItem in the
Input tab.
|
MaxCount | Yes | The maximum number of work items that you want to approve. The default value is 20. |
Repository | Yes | Specify the repositories related to the work items that you want to approve. Click
![]() |
Description
Provide a short description for the activity.
Advanced
The Advanced tab has the following fields.
Field | Module Property? | Description |
---|---|---|
Specify Custom Attributes | No | Select this check box to specify custom attributes for work items, that is, user-defined attributes.
Note: When this check box is selected, the
CustomAttributes node appears in
WorkItem in the
Input tab.
|
Input
The following is the input for the activity.
Input Item | Description | |
---|---|---|
WorkItemReference | Specify the work item ID that you want to approve.
Note: The
WorkItemReference node appears only when the
Approve All check box is not selected in the
General tab.
|
|
ReasonCode | Provide a reason code for the work item approval operation. | |
Comment | Provide a comment for work item approval operation. | |
CustomAttributes | Specify custom attributes for work items, that is, user-defined attributes. You can specify the value of the
Name and
Value.
Note: The
CustomAttributes node appears only when the
Specify Custom Attributes check box is selected in the
Advanced tab.
|
Output
The following is the output for the activity.
Output Item | Description | |
---|---|---|
Result | The execution result to indicate whether the execution has succeeded or not.
The node contains the following three elements:
|
|
Transaction | ||
Response |
See for more information on other items. |
|
TransactionResult | Return the result of a transaction to indicate if the command has succeeded or not.
Success does not mean the successful completion of the command. However, a failure does mean that the command is aborted. The element also captures details such as Result, and SuccessCount.
|