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. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  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

    Description:
    Specifies the parameters necessary to complete the command.
    Allowed Values:
    A valid argument for the specified command.
    Default Value:
    None
    Accepts Variables:
    Yes
    Example:
    DIR

    Return Value (Get Console Output Value)

    Description:
    Stores output in specified process data variable.
    Allowed Values:
    A process data variable.
    Default Value:
    None
    Accepts Variables:
    Yes