Zip

Zip files or folders

General

The General tab contains the following fields.

Field Module Property? Description
Name No The name to be displayed as the label for the activity in the process.

Description

Zip files or folders

Input

The following is the input for the activity.

Input Item Data Type Description
location String Location of the file or folder to zip. May or may not end with path separator
filename String Name of the file or folder to zip
zipLocation String Location where to save the generated zip. May or may not end with path separator
zipFilename String Name of the zip file to create. A .zip extension will be appended to the name
createDirs Boolean (Optional) Specify whether to create missing directories that build up the zipLocation path. Default is false
overwrite Boolean (Optional) Specify whether to overwrite an already existing file with same zipName.zip name under zipLocation. Default is false. A backup copy of the existing file with .bak appended to the name is created and removed ONLY if the activity ends successfully

Conversations

The Conversations tab allows you to initiate or join a conversation.

Conversations receive message after the creation of the process instance, which is initiated or joined by an activity. This activity can be used to initiate a conversation. Click the Add New Conversation icon to initiate a conversation. For more details on conversations, see TIBCO ActiveMatrix BusinessWorks Application Design.

Output

The following is the output for the activity.

Output Item Data Type Description
retCode Integer Status code of the activity. 0 is OK, <0 is unexpected error, >0 is manageable error
retMsg String (Optional) Status message for the activity

Fault

The Fault tab lists exceptions that are thrown by this activity.

Error Schema Element Datatype Description
msg string The error message returned by the plug-in.
msgCode string The error code returned by the plug-in
Fault Thrown When...