Run an External Command

To run an external command from a process, do the procedure in this topic.

Figure: Configuration for calling External Command screen

Configuration for calling External Command screen

Good to Know

How to Start

  1. On the App Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In Process Builder, in the Activity Library, open the Utilities tab.

        Open Utilities tab
      2. On the Utilities tab, drag the External Command activity onto your process.

        Drag External Command activity
    • Change an activity:
      1. In your process, double-click your activity.
  3. Click External Command External Command icon.

Procedure

  1. On the Configuration for calling External Command screen, in the Environment Variable field, enter variables as necessaryfor your environment.
  2. In the Command field, enter the command or executable to run.
  3. Complete these fields as necessary
    Field NameValue

    Arguments

    Function:
    Specifies the parameters necessary to complete the command.
    Accepted Values:
    A valid argument for the specified command.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes
    Example:
    DIR

    Return Value (Get Console Output Value)

    Function:
    Stores output in specified process data variable.
    Accepted Values:
    A process data variable.
    Default Value:
    None
    Accepts Process Data Variables:
    Yes