Input

For more information about mapping and transforming input data, see TIBCO ActiveMatrix BusinessWorks™ Process Design.

The input for the activity is the following.

Input Item

Datatype

Description

command

string

The command to execute, including any input or command-line arguments. Specifying this input item overrides the command specified on the Configuration tab.

input

string

An input string to supply to the command’s standard input. This schema item accomplishes the same goal as entering the command from a command prompt and then typing in input without specifying a carriage return.

For example, on UNIX, typing sed into a command prompt allows you to enter more text as input into the sed command.

Use &crlf; in the string for this item to specify a carriage return (that is, &crlf; simulates pressing the Enter key).

environment

string

The environment variable settings used for running the command. This element is specified as a comma-separated list of <name>=<value> pairs where <name> is the name of the environment variable and <value> is the value of the environment variable.

If no value is specified for this element, the command is run with the environment variable settings that are specified in the login scripts for the user account used to execute the ActiveMatrix BusinessWorks process engine.

If a value is specified, the value of this element replaces any environment settings for the user account used to run the ActiveMatrix BusinessWorks process engine. That is, the user environment is ignored and this element’s value is used instead.

workingDirectory

string

The working directory for the command process.

If workingDirectory is not specified, the command process inherits its working directory from the process engine.

token

string

Command output can be split into multiple strings based on the token specified in this element. This field is only available when At Specified Token is chosen in the Line Split field on the Configuration tab.

The following escape sequences are supported in this element:

\r — newline carriage return character
\n — newline character
\t — tab character
\\ — backslash character

For example, \r\n signifies to split at a carriage return/linefeed, \\ signifies to split when a backslash is encountered.