Is it possible to 'copy and paste' a workflow diagram from one workflow manager project to another workflow manager project within the same enterprise environment (along with any related job templates). The way of working follows a 'development' and 'production' method, whereby new sub-workflows (for example, child workflows) are being created and tested within a separate workflow manager project by a delegated team member before the workflow is approved to be copied across into the 'production' workflow project and interlinked.
Solved! Go to Solution.
Hello @Haley_Clowes ,
Currently, you need to build your own script tools that utilize the Python API to migrate workflow components. You can find some sample scripts (for 10.9.x) in this repository: https://github.com/Esri/workflowmanager-samples/tree/master/ServiceBased/10_9_x
Be aware that you can only import a configuration into another workflow manager item if no jobs exist in it. So the current import/export functionality works best for initial establishment of the production environment, but not for adding new functionality/making changes to the workflows, unless you're okay with deleting all existing jobs in the production environment every time you transfer your configurations.
Thanks,
Paulina
Hello @Haley_Clowes ,
Currently, you need to build your own script tools that utilize the Python API to migrate workflow components. You can find some sample scripts (for 10.9.x) in this repository: https://github.com/Esri/workflowmanager-samples/tree/master/ServiceBased/10_9_x
Be aware that you can only import a configuration into another workflow manager item if no jobs exist in it. So the current import/export functionality works best for initial establishment of the production environment, but not for adding new functionality/making changes to the workflows, unless you're okay with deleting all existing jobs in the production environment every time you transfer your configurations.
Thanks,
Paulina
Is this script suitable for WF Classic o for the new WFM?
I have tried https://developers.arcgis.com/workflow-manager/api-reference/rest/export-workflow-configuration/ with no luck
any help is welcome