In the latest version of IBM App Connect, you can specify your own sample data to rapidly test complex JSONata mappings while authoring flows in the flow editor.

To get started, click any mapping that represents a value from a previous node in the flow, and then select Edit sample data from the menu.

Edit sample data option

Next, use the “Context and sample data” pane to specify sample data for the mapping, and then check below the field to see what the result looks like. If you’ve applied JSONata to the mapping, the sample data is transformed to show the result.

"Context and sample data" pane

Add sample data for any other mappings that you’ve configured in the node. Your changes will persist for as long as the flow is open, and are reflected in real time as you type the data.

Check out the following video to see this feature in action:

Join The Discussion

Your email address will not be published. Required fields are marked *