In this section you can create and configure new JavaScript rules. Furthermore, you can edit and delete existing JavaScript rules.
Call up JavaScript rules
In order to call up an existing JavaScript rule, proceed as follows:
- Choose the JavaScript rule from the rules directory. Possibly use the text search to filter the list of JavaScript rules by a search term.
- Click on the JavaScript rule to select it. Following this, the settings of the JavaScript rule are shown in the input field of the “Configuration” card.

Specify JavaScript rules
Generate a JavaScript-Rule and make the
In order to generate a new JavaScript rule and to make the basic settings, proceed as follows:
- Click on the
button in the “JavaScript rules” card to generate a fresh JavaScript rule with blank input fields.
- Enter an identifier for the JavaScript rule in the “Identifier” field.

- From the “Validation” menu, select the validation type for the validation of the JavaScript rule:
- JSLint
- JavaScript-Engine
- Keine Validierung
- Enter the JavaScript rule in the editor field.
- Via the corresponding menu, specify if the JavaScript rule is a helper function.
- Via the corresponding menu, specify if the JavaScript rule requires a helper function.
- Possibly click on the button to cache your input.

Specify parameters
In order to specify parameters, proceed as follows:
- Scroll to the “Parameters” card and add the first parameter:
- Click on the button to call up the corresponding dialog box.
- Select a parameter type from the menu. Possibly use the text search to filter the list of parameter types by a search term.
- Click on the button. Following this, the dialog box closes. The parameter is now created.

- Configure the parameter you just created:
- Specify a value for the position of the parameter in the parameter sequence. Double-click in the table cell of the “Order” column and enter an integer value.
- Possibly specify a parameter value. Double-click in the table cell of the “Value” column and enter the value.
- Create the remaining parameters and configure them as described above.
- Possibly click on the button to cache your input.
Create descriptions and finalise the configuration
In order to create rule descriptions and to finalise the configuration, proceed as follows:
- In the various input fields of the “Description” card, enter multilingual shortdescriptions for the JavaScript rule. You do not have to fill in all the fields.
- Click on the button to save your input and to finalise the configuration of the JavaScript rule.

The JavaScript rule is now configured.
Edit JavaScript rules
In order to edit a JavaScript rule, proceed as follows:
- Call up the JavaScript rule as described above.
- Make the desired changes.
- Click on the button to save your changes.
Delete JavaScript rules
In order to delete a JavaScript rule, proceed as follows:
- Move the mouse cursor over the JavaScript rule. As you do, the
button appears. - Click on the
button. Following this, the
button appears. - Click on the
button to confirm the deleting of the JavaScript rule.
FAQ
What are JavaScript rules used for?
JavaScript rules are used for workflows, for example to check whether specific text has been maintained for a product.