Skip to main content

Validation

The BPMN block with Script for the validation of users presenting

Format

JavaScript

Type

Inline script

Script example

JSON.parse(execution.getVariable("users"))["Owner"] !== undefined && JSON.parse(execution.getVariable("users"))["Steward"] !== undefined

where ["Owner"] & ["Steward"] are Camunda Role names