Editing the output schema
Configure the information included in the output when the flow completes.
About this task
The output from the flow is generated using a JSON schema with output
as a root object.
Steps
-
Click the Flows tab.
-
Find the flow and click ... > Edit.
-
Click More options ( ) > Output Schema to show the output schema.
-
Update the JSON schema.
You can add one or more parameters to the properties section. For example, this output schema outputs the errorMessage and selectedDeviceOtpEnabled properties:
{ "output": { "type": "object", "additionalProperties":true, "properties": { "errorMessage": { "type": "string", "displayName": "Error Message", "preferredControlType": "textField", "enableParameters": true, "propertyName": "errorMessage" }, "selectedDeviceOtpEnabled": { "type":"bool" } } } }
json -
Click Save.