Close Work Item
By using the Close Work Item activity, you can close notification work items.
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 CloseWorkItem. |
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. |
Close All | Yes | Select this check box to close all the work items.
Note: The
Maximum Count and
Repository fields display only when the
Close All check box is selected. And when this check box is not selected, the
WorkItemReference node is added in
WorkItem in the
Input tab.
|
Maximum Count | Yes | The maximum number of work items closed. The default value is
20.
Note: This field displays only when the
Close All check box is selected.
|
Repository | Yes | Specify the repositories related to the work items that you want to reject. Click
![]() Note: This field displays only when the
Close All check box is selected.
|
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 | |
---|---|---|
WorkItem | ||
WorkItemReference | Specify the workitem ID that you want to close.
Note: The
WorkItemReference node appears only when the
Close All check box is not selected in the
General tab.
|
|
ReasonCode | Provide a reason code for the work item close operation. | |
Comment | Provide a comment for work item close 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 succeeds 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.
|