Deploy exception when deleting task switch
Hi all
One month ago, i introduced a new task switch element on my project and deploy it on server. So customer used it already (on their side). Now customer think they don't need it anymore so they request me to remove it.
After removing that task switch and delete all cases which are related to that element then deploy on server, i got this exception:
The task switch element with process element id '155C371802ADDD14-S40-f35' is used by cases of the process model version but is missing in the project
`This is the exception from Jenkin`
[FAILED] Check task elements: Checks that the process elements that are references by tasks still exists in the project
ERROR The task switch element '155C371802ADDD14-S40-f35' is missing - The task switch element with process element id '155C371802ADDD14-S40-f35' is used by cases of the process model version but is missing in the project (Recreate the task switch element with the process element id '155C371802ADDD14-S40-f35' in the project)
WARNING There are cases started on the process model version, only deploy changes in your project if you know for sure that those changes do not break the started cases - Because there are cases started on the process model version, you have to ensure that the changes in your project do not break the started cases. We recommend strongly to create allways a new process model version to deploy changes in your projects. However, sometime you only change small things in your project that are compatible to the started cases (e.g. no changes to task switch elements and connected arcs, to intermediate events, to exception elements, to call sub elements and to process data classes). In this case you may want to redeploy a project to an existing process model version. (Create a new process model version and deploy your project changes to the new process model version)
I see in that exception engine suggest me to create new PMV, but can we have another way? because we just want to keep one pmv on server.
If **If we try to remove all cases/tasks which is related to this task switch, can we solve it?it?**
Thanks all