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 Application Explorer screen, do one of these:
  2. Do one of these:
    • Add an activity:
      1. In the Process Builder, in the Activity Library, open the Utilities Utilities icon tab.
      2. On the Utilities Utilities icon tab, drag the External Command External Command icon activity onto your process.
    • 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 Name Value

    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