Happy Business Starts Here

Update existing Workflow by JSON Import

Update existing Workflow by JSON Import

It should be possible to overwrite the JSON file of an exisiting Workflow. Currently we can only import JSON file for initial creation of an workflow but not for update. If we for example want to rollout changes on a workflow we only 2 possibilities:

1.) Remember all the single steps we performed in the UI and do the same again on PROD UI

2.) Import the workflow as new workflow and change all API calls which are referring to the old ID.

 

We have several workflows running on the system which are triggered via API or Notification Events. The API Call requires the workflow ID, which is

changing everytime if we use the existing export, import possibilities.

 

Both possibilities are annoying and error prone.

Therefore it would be great, if it is also possible to overwrite existing workflow by editing/overwriting the JSON.

2 Comments
gauri
Master

Is there any update on this ? 

 

We have a similar requirement and will lile to overwrite the exisitng workflows which will allow the ids to be the same . Importing the JSON as a new workflow is not the best route.

 

pask
Valued Scholar

Hi, Yes it will be very useful. As for the problem you mentioned. In our project we trigger the workflow from system event by using workflow name instead of workflow ID. Name will not change we suggest to use workflow names without spaces. If wf name has spaces you should convert in url format. We need this feature in order to rename automatically older versions of the same wf.