---
sourceDocument: Australia Security Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/security-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Security Management

ft:clusterId :

    - security

bundleId :

    - security

workflow :

    - Technology


---

# Check Command Status and Get Process Flow Action

# Check Command Status and Get Process Flow Action {#ariaid-title1}

* Release version: Australia
* 
* Updated March 12, 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Checks the Carbon Black command status and retrieves processes to use in the flow.
The 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.

## Results

Possible results for this flow action are:
{#check-command-status-get-process-activity__table_lg3_dm5_vy__entry__2}

| Result | Description |
|-|-|
| Success | Command status returned and processes created. |
| Failure | Command status or process error. More error information is available in the flow action output error. |
[Table 1. Results]

{#check-command-status-get-process-activity__table_lg3_dm5_vy}

## Input variables {#check-command-status-get-process-activity__section_els_22m_3z}

Input variables determine the initial behavior of the flow action.
{#check-command-status-get-process-activity__table_pgm_tfy_jr__entry__2}

| Variable | Description |
|-|-|
| api_token | Carbon Black API key. |
| endpoint_base | Base URL of the Carbon Black API. |
| session_id | Session identifier. |
| command_id | Command identifier. |
| use_mid_server | Determines whether the REST activity uses the MID server to interact with Carbon Black or not. |
[ ]

{#check-command-status-get-process-activity__table_pgm_tfy_jr}

## Output variables

The output variables contain data that can be used in subsequent activities.
{#check-command-status-get-process-activity__table_bnj_jfy_jr__entry__2}

| Variable | Description |
|-|-|
| status_code | Determines if the request was successful. If not, displays an HTTP error code and message. |
| output | API variables |
[Table 2. Output variables]

{#check-command-status-get-process-activity__table_bnj_jfy_jr}

