Execute Terminal Command(s)

Use the Execute Terminal Command(s) activity to send commands to a session started by a previous Open Terminal Session activity.
To define the Execute Terminal Command(s) activity:

  1. In the Workflow Editor Toolbox, choose Activities > Terminal Execute Terminal Command(s), then drag and drop the activity onto the Workflow pane.

  2. On the Workflow Properties pane, enter the following information:

    1. Under General, specify the following information:

      1. Display Name: Enter the unique display name for the activity.

      2. Description: Enter the brief description about the activity.

      3. Activity Timeout (Seconds): Enter the number of seconds to wait for execute terminal command(s) activity to fail because it timed out.

      4. Check the Continue Workflow Execution on Failure check box to continue the workflow execution on failure of the activity.

    2. Under Target, specify the following information:

      1. Use Workflow Target: Check this radio button to use the workflow target.

      2. Override Workflow Target: Check this radio button to override the workflow target. You can select the appropriate target or +ADD NEW  from the dropdown list. For more information, see Terminal Endpoint.

      3. Use Workflow Target Group: Check this radio button to use the workflow target group.

      4. Override Workflow Target Group Criteria: Check this radio button to override the workflow target group criteria.

    3. Under Credentials, specify the following information:

      1. Use Target's Default Account Key User: Check this radio button to use the target's default account key user.

      2. Override Account Key User: Check this radio button to override the workflow account key user. You can select the appropriate Account key User ID or +ADD NEW from the dropdown list. For more information, see Terminal Key-Based Credentials or Terminal Password-Based Credentials.

    4. Under Terminal, specify the following information or click Variable Reference icon to choose any variable:

      1. Input Command(s): Enter the appropriate commands and inputs that a user can send to an open session.

      2. Ends with Special Character (Only If Send All the Lines As One Input Selected): Select the appropriate option to place at the end of the lines that is sent with the input from the dropdown list. Use options CTRL_A through CTRL_Z.

      3. Multiple Lines Option: Specify the following information:

        1. Send All the Lines As One Input: Select this radio button to send all lines in the plain text as one input.

        2. Send Next Line Only if Previous Line Succeeded: Select this radio button to send a line as an input if there is a previous line before the input.

      4. Individual Command Timeout (Seconds): Enter a value to specify the time frame to wait for an individual user input to be completed before timing out.

      5. Expects (regex): Under Failed (Completed), click +ADD to enter the regex character.

Back to: Terminal

  • No labels
Terms & Conditions Privacy Statement Cookies Trademarks