SSH post-processing parameters and payload parsing

Use these parameters to create a post-processing script, payload parsing, and tagging.

Table 1. SSH post-processing parameters
Name Variable Type Usage
Output output String Contains the output returned from the SSH command.
EccSysID eccSysID String Contains the reference ID associated with the ECC Queue input message returned by the activity.
ErrorMessages errorMessages String Contains the error messages retrieved from the SSH command. This value is null if there are no error messages.
Tags tags Hashmap of tag values returned from the SSH command Contains the tags used to extract output using the SSH commands. The tag output is delimited by double percentage signs, as in %%tagname%% … %%. Set up the command using the following format:
%%tagname1%%
output1 line 1
output1 line 2
…
%%

%%tagname2%%
output2 line 1
output2 line 2
…
%%
The tags returned are JavaScript hashmap objects in which each key is prefixed with tag appended with the tagname.
{"__text__": "", 
"tagtagname1":"output1 line1\noutput1 line2\n", 
"tagtagname2":"output2 line1\noutput2 line2\n"}