Do you want an overview of our solutions, customer cases and contact details?

Skip to end of metadata
Go to start of metadata

This article describes how to set up a script template to be used in Nexus PRIME.

Scripts are small, interpreted code units that are called up by Business Process Model and Notation (BPMN) script tasks and operate on the process context and on data pool fields. They can be used to perform process-specific data manipulation, analyses, etc. Scripts can be stored and managed without compilation in PRIME Designer.

Expand/Collapse All



Step-by-step instruction

 Log in to PRIME Designer
  1. Log in to the PRIME Designer as an admin user.
 Add or edit script template

To add or edit a script template:

  1. Go to Home > Scripts.
  2. To add a script template, click +New. Enter details:
    1. Enter a Name and optionally a Description.
    2. Select Script Engine.
    3. Click Save+Edit.
  3. To edit an existing script template, double-click the template name.
  4. In the edit dialog, define the output variable (a variable of the process context) and enter the code of a function with return code. You can insert references to data pool fields into the code from the data pool list by drag-and-drop.
  5. Click Check Syntax to check the code.
  6. Click Save when done.