Execute Python Script

Use the following procedure to execute python script.

This activity is applicable for Python 3.x versions.

  1. In the Workflow Editor Toolbox, choose Activities > Python Execute Python Script, 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 Python Script 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 Python Query, specify the following information or click Variable Reference icon to choose any variable:

      1. Script Arguments: Enter the collection of argument values for the script, users can pass to sys module in Python code.

      2. Script to Execute on Target: Enter the script code to be executed.

      3. Script Output Variables: Click +ADD to enter the following information:

        1. Script Variable: Enter the variable name as used in the script code to be queried.

        2. Property Name: Enter the property name, under which the value of Script Variable will be accessible in Action Orchestrator workflow.

        3. Property Type: Select the property type from the dropdown list such as Boolean, Date/Time, Decimal, and so forth.

Back to: Python

  • No labels
Terms & Conditions Privacy Statement Cookies Trademarks