ReloadFile

The ReloadFile activity is used to reload an old source file with a new one.

General

In the General tab, you can specify the activity name and a clarity connection.

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

Field Module Property? Description
Name No Specifies the name to be displayed as the label for the activity in the process.
Clarity Connection Yes Click to select a Clarity Shared Resource.

If no matching Clarity connections are found, click Create Shared Resource to create one. See Creating a Clarity Shared Rescource for details.

Description

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

Input

In the Input tab, you must specify the datasetID, SourceName, and File to reload a source files to a dataset:

Input Item Data Type Description
datasetID String Specifies a dataset ID string. A dataset ID is a unique string, which represents the dataset in the Clarity server.

See TIBCO Clarity Developer’s Guide for detailed information on how to get a dataset ID.
SourceName String Specifies the old source file name, which is already in the dataset. The new added source file should have the same schema as the old source file.
File The new source file, which has the same schema as the old source file in the dataset. Each file contains the following items:
  • fileContent: the content of new source file
  • fileName: the file name of the new source file

Output

In the Output tab, you can find the operation results.

The following table describes the fields in the Output tab of the ReloadFile activity:

Output Item Data Type Description
message String Return the detailed information of this activity.
status String Returns the status of this activity.

Fault

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

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

Error Schema Element Data Type Description
msg String The TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Clarity error message.
msgCode String The TIBCO ActiveMatrix BusinessWorks Plug-in for TIBCO Clarity error code.