Script Execution Widget

Using Script Execution Widget, scripts which can be executed within 5 minutes can be configured and executed.

Before you begin: Set Timeout in system Settings. Refer to Configuring Script Execution Settings.

Configuring Script Execution Widget

  1. Add scripts.
  2. Enter or select the script details.
    Table 1. Add Scripts - Field and Description Table
    Name Description
    *Widget Name User defined Name for the Widget
    Note: No special characters are allowed, except '_' , '.' , '-' , '|' , ':'. The name should not start with a special character.
    Description Description for the Widget
    *Script label Enter script label.
    *Action Name Enter the action name.
    *Script Input

    Browse file:

    Script file can be uploaded.

    Manual:

    Script can be typed in the text box.

    *Execution Script

    1.File can be uploaded.

    or

    2. Manual script input can be added.

    Script argument Arguments for the script can be mentioned with space as delimiters.
    Status script The full path of the scripts in AppViewX servers to update the color and status message of the bar. This functionality is used to get the status/result of a script.
  3. After adding all information, click Add and Save.

Execution of Scripts

  1. Click the Play icon, and then click the Action Name configured.
  2. To verify the output logs, click the View Logs option.