Scriptlets

Scriptlets are small scripts that define business rules. All scripts can be edited and viewed in the Scripts Console.

To access the Scripts Console click Data Model Manager > Scripts > Scripts Console.

When you write scriptlets, there is a character number limitation. Thus, when you write large scriptlets, it is best to use function calls from libraries. The following guidelines should be followed when you write scriptlets:
  • Scriptlets are created, modified, and saved in the Scriptlet Editor window when you work with:
    • Value and validation rules
    • String enumeration rules
    • Mapping expressions
  • Title and correct header are not necessary
  • Appropriate documentation should be used throughout a scriptlet