Overview
A data center/server workflow can be translated into cloud compatible JSON markup using the workflow Workflow Translator for Cloud available in workflow builder.
This feature can be disabled and hidden from the workflow builder by setting the following dark feature: comalatech.workflows.migration.translator.enabled
The workflow cloud compatible JSON can be copied and then added to a cloud site space using the app workflow code editor in cloud.
As some product features in Cloud are different to data center/server, the workflow builder cloud translator will not translate all the elements and parameters of the data center/server workflow into a cloud compatible JSON workflow.
The Workflow Translator for Cloud is only available in workflow builder for a workflow in the space settings Document Management
Workflow Cloud translator view
The workflow cloud translator button (if enabled) is displayed in the workflow builder navigator panel. The Workflow Translator can be used to translate the server workflow for a selected workflow and the cloud compatible JSON can be copied and pasted to the Comala Document Management Cloud workflow code editor in a cloud site.
Choose the Workflow Translator button to view the current workflow.
Choose the Translate button to translate and display the cloud compatible JSON for the workflow.
Any elements or parameters that are not translated to cloud compatible code are listed in the Messages dialog box.
Some elements and parameters of the server workflow may not be cloud JSON compatible.
Select the Copy button to copy the workflow cloud compatible JSON code to the clipboard.
Paste the cloud compatible JSON code to the Comala Document Management Cloud workflow code editor in a space in your cloud site (or paste as a text file to a text/code editor for storage).
Elements listed in the Messages dialog box will need to be recreated manually in the cloud workflow using workflow builder or code editor in cloud, for example, workflow triggers. Cloud JSON triggers use different functionality, including different workflow events and trigger actions. The product comparison page can be used to check the feature differences between the server and cloud apps.
Workflow elements translated to cloud compatible JSON
Workflow translator for cloud translates the following elements and their parameters of a server workflow into cloud compatible JSON code.
Workflow
name
description (if present
state
name
description (if present)
final
color
state transitions
select*
approved
rejected
updated
expired
approval
name
description ((if present)
approve button label (if present)
reject button label (if present)
* The submit transition is not translated directly but when present in the server workflow it is created in the cloud compatible JSON code as a select transition with a single destination state.
What is not translated to cloud compatible to JSON?
Unsupported workflow elements not included in the cloud compatible JSON code translation
workflowparameter macro
trigger macro
Workflow parameters can be created and used in a cloud but these have different functionality to those in server.
Workflow JSON code triggers can be created and used in a cloud but these have different functionality to those in server.
In cloud, unsupported parameters include
For a workflow state
hideselection
parametercannot be hidden from the progress bar in the workflow popup
taskable
parametermanual addition of workflow tasks by a user is not supported
changeduedate
parameteruser by default can edit the due date for a state
For a workflow approval
credentials
parameter
See also
Comala Document Management Cloud