Script Configurations
- Enterprise IT
- Shilpa K (Deactivated)
- Mayuresh Balaji Kamble (Unlicensed)
Scripts are the set of commands which are written to accomplish a specific task. Scripts can be written in multiple languages like PowerShell, Perl Python etc. Published scripts will be available to create the Orchestration Workflow.
To get a quick understanding of uploading scripts for various Service Automation use-cases, browse the following video.
To configure a new Orchestration Script:
- Select Script Configurations. The Script Configurations list page is displayed.
- On the Script Configurations list page, click on + icon to configure a new script. For more information on the fields of Script Configurations list page, see, Field Description.
- Select the Script Language.
- Click Load Parameters, after specifying the script. Specify other required fields in Script Configurations details page. For more information on the fields of Script Configurations details page, see, Field Description.
- Click Submit. A new Orchestration Script is configured.
To update an existing Orchestration Script:
- Select Script Configurations. The Script Configurations list page is displayed.
- On the Script Configurations list page, select the specific script to edit or view the script. For more information on the fields of Script Configurations list page, see, Field Description.
- Click Load Parameters, after specifying the required parameters of the script. For more information on the fields of Script Configurations details page, see, Field Description.
- Click Submit. The orchestration's script's configurations are updated.
Figure: Script Configurations List Page
Field Description
The following table describes the fields on the Script Configurations list page:
Fields | Description |
Script Name | Displays the script name. |
Status | Displays the status of the script. |
Category | Displays the category of the script. Right click on icon and the following options are displayed:
Check the Group by Column check box to group the categories. Uncheck the Group by Column check box to un-group the categories. |
Script Language | Displays the script language. |
Created By | Displays the name of the user who has created the script. |
Last Updated By | Displays the name of the user who has last updated the script. |
Last Updated Date | Displays the date on which the script was last updated. |
Created Date | Displays the date on which the script was last created. |
Description | Displays the description of the script. |
Click this icon to add a new script. | |
Click this icon and select one the of following options:
| |
Click this option and Filter Pop-up page is displayed. You can apply, save, and update the filters to the script configuration. Figure: Filter Pop-up | |
Click this option and Edit Column pop-up page is displayed. You can add a column, delete a column, or change the order of columns. Click Apply to save the changes and you can view the applied changes on Screen Configurations page. Figure: Edit Columns Pop-up | |
Click on this icon, a search text box is displayed against each column to search the data against each column. |
Figure: Script Configurations details page
Field Description
The following table describes the fields on the Script Configurations list page:
Fields | Description |
Script Language | Select the language in which you want to write the script. SummitAI Orchestration supports the following scripting languages:
|
Theme | You can select the theme while writing the script to get the better view of the script. The following themes are available:
|
Script Editor | Specify the commands in the script window. Input Parameters should be declared as [*VariableName*] The starting and ending of Output Parameters should be declared as [START##VariableName##] and [END##VariableName##]. |
Script Details | Specify the following parameters under script details.
Except Status field, all other fields will be read-only. Only published scripts will be displayed in the Workflow Designer.
|
Execution | Specify the following parameters under execution.
|
Input | Once you click on Load Parameters, the parameters specified in the script are displayed under Input tab. |
Output | Once you click on Load Parameters, the output variables specified in the script are displayed in Output Variable drop-down under Output tab. You can map the Output Name to the required Output Value. By default, the following options are available in Output Value drop-down list:
|
Parsing | Click on Parsing if you want to parse script output using Keywords. By default, the following options are available in Criteria drop-down list.
Remove Keyword 1 (removes Keyword 1 from your script output). Select the output variable in the Variable field. Specify Keyword 1 and/or Keyword 2 in the corresponding fields. |
Criteria | Specify the condition to define the success or failure of the Orchestration Script.
|
Confluence Cloud Migration Alert: Please refer to known issues you may encounter in Confluence Cloud: https://eitdocs.atlassian.net/wiki/x/wDGwAQ