{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":44030,"path":"security-management/extract-shell-script-mid-script-activity.md","title":"Extract Shell Script from MID Script activity","bundle":null,"doc_type":null,"release":"australia","body":"\n# Extract Shell Script from MID Script activity\n\nThe Extract Shell Script from MID script workflow activity pulls a MID server shell script to use with in the workflow.\n\nThe Extract Shell Script from MID Script activity can be used with any workflow to extract a MID server shell script to include in the workflow.\n\n## Results\n\nPossible results for this activity are:\n\n|Result|Description|\n|------|-----------|\n|Success|Found shell script|\n|Failure|No shell script found. More error information is available in the activity output error.|\n\n## Input variables\n\nInput variables determine the initial behavior of the activity.\n\n|Variable|Description|\n|--------|-----------|\n|sysId|System identifier|\n\n## Output variables\n\nThe output variables contain data that can be used in subsequent activities.\n\n|Variable|Description|\n|--------|-----------|\n|scriptValue|Script, as a string value, executed on a Unix system.|\n\n**Parent Topic:**[Security Operations System Command Integration- Get Running Processes flow](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/obtain-WMI-retrieval-workflow.md)\n\n"}}