Inspector

Inspector activity is used to write the output of any or all activities and module properties to a file or stdout. This is particularly useful when debugging processes and you want to see the entire schema instead of mapping specific elements to the Write File activity.

General

You can use the Inspector activity to write the output of any activity or module properties in the current process. Activities and module properties in a subprocess are not available to the Inspector activity (but the output of a Call Process activity can be written using the Inspector activity). If you want to obtain the output from one or more activities or module properties in a subprocess, place the Inspector activity in the process of the subprocess.

The General tab has the following fields.

Field Description
Name The name to be displayed as the label for the activity in the process.
Inspect The output of the processes you want. Select any one from available items on the drop-down list to output.
  • All
  • ModuleProperties
  • _processContext

Only activities that have output and are executed prior to the Inspector activity are visible in the drop-down list.

Stdout Specifies whether the output of this activity should be sent to stout (standard output). Select this check box to send the output to stdout.

If this check box is not selected, the output is not sent to stdout.

Append to File Select this check box to specify that the output is appended to the file specified in this activity’s input.

Not selecting this check box overwrites any file that exists with the specified name.

Suppress Header Select this check box to suppress the output of header information, such as the process instance ID and the timestamp.

If this check box is not selected, the header information for the current process instance is written before the output of the activity or module property.

Description

Provide a short description of the activity.

Input

The following is the input for the activity.

Input Item Datatype Description
fileName string The absolute path to the file you want to write. This file contains the output of the specified activity or module property.

Output

The following is the output of this activity.

Output Item Datatype Description
output string The output of the module property or activity specified on the General tab in string form.

You can use this output in subsequent activities, in addition to writing the output to a file or stdout. For example, you can use this output as the body of a TIBCO Rendezvous message.