Manage scripts
  • 21 May 2024
  • 1 Minute to read
  • Dark
    Light

Manage scripts

  • Dark
    Light

Article summary

Learn how to work with IMCScript scripts:

Manage scripts

  1. From the application left navigation area, select Model.
  2. 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

  1. From the list of scripts, select +.

  2. Enter a unique name for the script.

  3. (Optional.) Enter a script description.

  4. Select Create. The new script appears in the list with a status of Invalid.

  5. 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.

    create_imcscript_from_custom_template.png

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

Important

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.

  1. Select the script from the list of scripts.
  2. Select Sync and Lock to prevent other users from editing the script.
  3. Make changes, then select Save. Saving the script unlocks it.

Delete scripts

To delete scripts, select them from the list, then select Delete.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.