Data handling
The FEEL editor will suggest variables in the current element's scope when defining input and output mappings in a process. The variables created by the mapping are automatically picked up and added to the suggestions.
To get editor support for variables created by your job workers or passed as process start variables, define the variables in the process model.
Defining additional data
You can add the schema for this data by adding a JSON return value in the Data
section of the properties panel. The values are used to derive variable names and types in the FEEL editor. Nested objects are also supported.
Providing this data is optional, but it's recommended if you want to take full advantage of the FEEL editor's suggestions.
The provided data schema is only used by the FEEL editor to provide variable suggestions while modeling. It is not used during process execution.
Data provided this way is added to the nearest scope. If an element has output mappings, the data will only be available in the element itself. Otherwise, all variables will be passed to the parent scope. Check the variable concepts page for more information on variables and variable scopes.