Update

The Update activity updates rows in a datagrid table based only on the primary key but not on any select criteria. Any row that needs to be updated must contain a value in the primary key. (The primary key is mandatory, and the value of the key is unique.)

General

In the General tab, you can specify the activity Name and a Table Connection.

The following table describes the fields in the General tab of the Update activity:

Field Module Property? Description
Name No Specifies the name to be displayed as the label for the activity in the process.
Table Connection Yes Click to select a table connection. If the datagrid for the required table connection is not found, in the Select FireflyResource Resource Template dialog box that opens, click Create Shared Resource to create a datagrid connection first. See Creating a DataGrid and Adding a Table for details.
Timeout (sec) No Specifies the timeout value for the activity. The value specified here overrides the ActiveMatrix BusinessWorks™ default timeout value.

Description

In the Description tab, you can enter a short description for the Update activity.

Advanced

In the Advanced tab, you can provide advanced settings for the Update activity.

The following table describes the field in the Advanced tab of the Update activity:

Field Module Property? Description
Generate Update Output No Specifies the output schema and also indicates if there was an error in the ResultList of the Output tab. By default, the check box for this field is not selected.
Override Transaction Behavior No Specifies whether to override the existing transaction behavior for a local transaction.
Generate Only Key Output No Specifies the output based only on key fields.

Input

In the Input tab, based on the primary key, enter the values that you want to update in the table.

Output

In the Output tab, you can find the operation results when you test the process.

The following table describes the field in the Output tab of the Update activity:

Output Item Data Type Description
ResultList String Specifies the HasError boolean value and the result. The result contains the HasError boolean value and the ROWs. If HasError is true, the result contains the Error message as well.
Note:

The HasError value is true when one or more results have errors.

The HasError value is false when no error occurs.

Fault

In the Fault tab, you can find the error code and error message of the Update activity. See Error Codes for more detailed explanation of the errors.

The following table describes the errors in the Fault tab of the Update activity:

Error Schema Element Data Type Description
msg String The plug-in error message.
msgCode String The plug-in error code.