# JSONata editor

With the JSONata editor, define the Service properties of the flows. If you create a service, in most cases the service will need data it can use to execute the respective action.

# Example

One example is the object ID of an ELO object. This is used in the Create post service of the ELO feed component:

The service needs to know which object a feed post should be written for. The object is addressed via the object ID, which you can define or identify dynamically.

ELO Flows uses the transformation language JSONata for dynamic data access with data transformation.

JSONata editor in expert mode

JSONata editor expanded in a separate dialog box

You have the following configuration options:

1 Enter value: Input field for fixed values as a string or dynamic values as a JSONata expression.

2 Select input mode: The input field is in text mode by default. Text mode works with string values, which you can select from configured data (4). Expert mode (J icon) enables you to input JSONata commands.

3 Expand editor: Expand the editor using the arrow icons and open a separate dialog box for a larger input area.

4 Use preconfigured contents: Choose between Data, Type-related data, Proposals, Translations, and Functions.

Information

For more information about the structure and possibilities with JSONata, refer to jsonata.org (opens new window)

Last updated: March 13, 2024 at 8:25 AM