{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":43653,"path":"security-management/check-command-status-get-process-activity.md","title":"Check Command Status and Get Process Flow Action","bundle":null,"doc_type":null,"release":"australia","body":"\n# Check Command Status and Get Process Flow Action\n\nChecks the Carbon Black command status and retrieves processes to use in the flow.\n\nThe Check Command Status and Get Process Flow Action can be used with any flow to check a Carbon Black command status and get processes within the flow.\n\n## Results\n\nPossible results for this flow action are:\n\n|Result|Description|\n|------|-----------|\n|Success|Command status returned and processes created.|\n|Failure|Command status or process error. More error information is available in the flow action output error.|\n\n## Input variables\n\nInput variables determine the initial behavior of the flow action.\n\n|Variable|Description|\n|--------|-----------|\n|api\\_token|Carbon Black API key.|\n|endpoint\\_base|Base URL of the Carbon Black API.|\n|session\\_id|Session identifier.|\n|command\\_id|Command identifier.|\n|use\\_mid\\_server|Determines whether the REST activity uses the MID server to interact with Carbon Black or not.|\n\n## Output variables\n\nThe output variables contain data that can be used in subsequent activities.\n\n|Variable|Description|\n|--------|-----------|\n|status\\_code|Determines if the request was successful. If not, displays an HTTP error code and message.|\n|output|API variables|\n\n**Parent Topic:**[Security Operations Carbon Black Integration - Get Running Processes Flow](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/security-management/secops-integration-cb-get-running-processes-workflow.md)\n\n"}}