Command line invocation mechanism

With an <invocation–mechanism> value of 'command–line', the <adapter–name> element is used to designate a Command Line Actor Adapter that has been configured in Grid Manager. If an <adapter–name> value is not defined, the default value of 'CommandLineAdapter' will be used.

The <working–dir> element can be assigned to designate a specific working directory in which to execute this activity's command.

The <command–dir> element is used to define the directory in which to search for a script to execute. In the absence of this element, the script should be located in the current directory. The <command–encryption–type> element can be used to define the encryption method used for the command. The value of 'Base64' can be designated for <command–encryption–type> element to indicate that the command provided is encrypted using Base64. If a <command–encryption–type> value is not provided, the command is assumed to be non–encrypted.

The <timeout> element can be used to designate the length of time, in seconds, that the system should wait for the executed command to complete. If the executed command is not completed before the timeout period elapses, an error message will be returned in the Adapter response.

The remaining elements are not used with a defined <invocation–mechanism> value of 'command–line'.

Element Use with command line invocation mechanism Description

working–dir

Optional.

Directory in which to execute a command. (Applicable only with an invocation–mechanism of 'command–line')

command–dir

Optional.

Directory in which to search for a script to execute. (Applicable only with an invocation–mechanism of 'command–line')

command–encryption–type

Optional.

The type of encryption to use for the command to be executed.

 

If you specify an encryption value of 'Base64', the command value provided is presumed to be Base64 encrypted.

 

Valid values: Base64, Plain. (The command encryption type value is not case sensitive)

timeout

Optional. Default value is '60' (in seconds).

Time, in whole seconds, allotted to complete the execution of a command.

 

Related topics

Operations Actions utilities

Using the common object to provide the information required to create the adapter request

Elements for the ConnectionDetails common object

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Comments