Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Execute Shell Script activity

Execute Shell Script activity

The Execute Shell Script workflow activity runs a MID server shell script within the workflow.

The Execute Shell Script activity can be used with any workflow to execute a MID server shell script in the workflow.

Results

Possible results for this activity are:

Table 1. Results
Result Description
Success Found shell script
Failure No shell script found. More error information is available in the activity output error.

Input variables

Input variables determine the initial behavior of the activity.

Variable Description
target IP or fully-qualified domain name (FQDN) of the target CI.
scriptValue Script, as a string value, executed on a Unix system.

Output variables

The output variables contain data that can be used in subsequent activities.

Table 2. Output variables
Variable Description
response Raw output. Running processes data.