Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
namecode_editor

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 or site.

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 a space custom workflow in the space settings Document Management dashboard.

cdmc_customworkflow_codeeditor_actions_option.png

The workflow template JSON code is displayed in the workflow schema box and can be edited directly in the editor.

cdcm_codeeditor_customworkflow.pngImage Added

You can also open the code editor using the toggle button option in the workflow builder visual editor. For example, after choosing the Create New Workflow option button in the document management dashboard.

cdmc_wfbuilder_createworkflow_toggleoption_codceeditor.png

...

Excerpt
nameuse_code_editor

Access the Code editor for a custom workflow using the </> icon in the Actions options in the space document management dashboard.

cdmc_Actions_options_editcodeeditor.png

The workflow template JSON code is edited directly in the editor.

Image Removedcdcm_codeeditor_copybaw_withscrollbar.pngImage Added

The code editor validates any changes. Errors are displayed with details of the validation. The code editor does not allow the application of code 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 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.

Info

Changes applied to the code editor are dynamically updated in workflow builder visual editor.

Accessing the code editor using this option in the visual editor allows you to toggle between the visual and code editors.

...

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 translator and pasted into the cloud app code editor accessed when choosing the Create New Workflow button option in the space document management dashboard.

...