...
Excerpt | ||
---|---|---|
| ||
Access the Code editor for a custom workflow using the </> icon in the Actions options in the space document management dashboard. The workflow template JSON code is edited directly in the editor. The code editor validates any changes . Errors are displayed with details of the validation.and displays an error if there is a JSON code syntax error found. The code editor does not allow the applicationsaving of codea template with a validation error.JSON markup for triggers can also be added to a workflow using the workflow builder visual editor rather than the code editor When saving the template, the editor also validates any changes against the current workflow. For example, a state in the code for a workflow trigger must be in the workflow and named correctly. Workflow builder lets you toggle between the visual and code editors. When editing a custom workflow in the workflow builder visual editor, the code editor is accessed using the code icon button in the right-hand navigator panel.
Accessing the code editor using this option in the visual editor allows you to toggle between the visual and code editorsThe JSON code for a workflow trigger can 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 the workflow builder in the data center and server apps.
The cloud-compatible JSON for each workflow can be copied from the translator and pasted into the cloud app code editor, which can be accessed when choosing the Create New Workflow button option in the space document management dashboard.
...