Code Editor
The current workflow JSON code can be edited using the code editor. The editor can also be used to import other workflows into the current space by copying and pasting the JSON markup for the workflow from another space.
JSON is a code language used to build the workflow. Only use this code editor if you are familiar with JSON.
You can access the code editor for the current space workflow in the space settings Document Management dashboard.
Using the code editor
Access the Code editor by opening the Edit Workflow dropdown menu.
The JSON can be edited directly in the editor.
The code editor validates any changes. Errors will be displayed with details of the validation. The code editor will not allow the application of code with a validation error.
Changes applied to the code editor are updated in workflow builder visual editor.
When editing the workflow in the workflow builder visual editor, the code editor can also be accessed using the code icon button in the right-hand navigator panel.
Accessing the code editor using this option allows you to toggle between the visual builder and the code editor.
Changes saved in each editor are dynamically updated in the other editor.
JSON markup for triggers can also be added to a workflow using the workflow builder visual editor rather than the code editor.
If migrating from server to cloud, each server workflow can be translated to cloud compatible JSON code using the Workflow Translator for Cloud in workflow builder in the data center and server apps. The cloud compatible JSON for each workflow can be copied from the cloud translator and pasted into the cloud app code editor.
Any queries on importing workflows or using the code editor please contact support.