Object editor
The object editor is an integral part of the workflow editor. You can use it to edit, manage, preview, and add variables for the blocks in your workflow.
To access the object editor, open a workflow in the workflow editor and click Object Editor.
- Change variable names and values
- You can change the names of variables that were created in the Start block. In the object editor, click the variable name, change it, then click outside the name to save your change.
- Add new variables
- When using the object editor to view properties in certain blocks, such as the Start block, you can add new variables by clicking +.
- Create an authentication
- If a block requires an authentication to an external service, you can add the authentication in the object editor.
- Configure expression variable schemas
- When you edit expression (enum) variables in the object editor, you can change the expression schema by clicking the green edit icon.
- Determine variable types
- To learn more about a variable's function and type, hover over its name in the object editor.
- Specify long property values
- When you edit text fields in the object editor, if you want to add a new line, press the Enter key.
- Select a specific variable to update
- In the flat workflow layout, you can select a specific variable to update by clicking its value in the block. The selected variable and value are then shown in the object editor.
- Navigate block properties
- To navigate from one field to the next in the object editor, press the Tab key.
- Discard and delete
- To discard changes to a variable's name or value in the object editor, press the Escape key.
- Edit objects, arrays, and schemas
- Whole objects and arrays can be edited instead of their individual properties. When you focus
out of edit mode, the inner structure of the object or array is updated. New properties are added,
old ones are removed, and values are updated.
If the resulting structure is an invalid JavaScript, the previous values are preserved and you must press Esc to undo your changes. If a value in the object tree contains an error, the error is passed up to the parent node. The previous values are preserved and an error message is shown.
The object editor supports custom schema definition. It can also display and edit the JSON schema structure directly. When the value of a node within an object tree exceeds 10 kilobytes, the value cannot be validated.