Javascript
This page provides the possibility to enter a use case-specific JS script into the configuration for project-specific function automation.
Figure 1. Javascript configuration for JS Function plugin
Javascript has the following objects:
Name of object |
Description |
mandator |
Current mandator |
mandatorId |
Identity of current mandator (Long) |
mandatorName |
Identifier of current mandator (String) |
entryFacade |
EntryFacade instance |
logger |
Logger instance |
For single-select mode:
Name of object |
Description |
objectId |
Identity of processed object (Long) |
dataItem |
Data item of processed object |
For multi-select mode:
Name of object |
Description |
objectIds |
List of identities of processed objects (List) |
dataItems |
List of data items of processed object |