- 21 May 2024
- 1 Minute to read
- Print
- DarkLight
Manage scripts
- Updated on 21 May 2024
- 1 Minute to read
- Print
- DarkLight
Learn how to work with IMCScript scripts:
Manage scripts
- From the application left navigation area, select Model.
- On the top navigation bar, select IMCScript Management to display the list of scripts. By default, the list is sorted alphabetically.
The list shows all defined scripts. The Current Status column indicates whether the script is Active or Inactive.
To view a script, select it in the list.
Create a script
From the list of scripts, select +.
Enter a unique name for the script.
(Optional.) Enter a script description.
Select Create. The new script appears in the list with a status of Invalid.
Select the script in the list to define it.
You can construct the script from a custom template. To start with a template, select the dropdown located above and to the right of the code view.
Validate a script
By default, the system validates the script as you construct it. You must correct all displayed errors and warnings before you can save and activate the script.
Saving the script automatically validates it. If there are no compilation errors, the status changes from Invalid to Inactive.
Activate a script
To activate a script, select Play. The status appears as Active. After testing, the script is ready to run in appropriate entry points (Groups).
Edit a script
Before you edit a script, select Sync and Lock. This "locks" the script to prevent other users from making concurrent edits.
When locked, a message appears to other users indicating that script changes are in progress.
- Select the script from the list of scripts.
- Select Sync and Lock to prevent other users from editing the script.
- Make changes, then select Save. Saving the script unlocks it.
Delete scripts
To delete scripts, select them from the list, then select Delete.