yuuvis® RAD Q&A

+1 vote
by (2.1k points)


I am currently developing a little programm, which deletes all on going processes, empties the model tray and deletes all processmodels (using the REST API).

We want to use this programm to set up the environment properly for a script that deploys processmodels from the tray that employees from OS sent to us.

Everything works fine, except for the fact that I can not delete active processmodels. Is there any way to deactivate them programatically?


1 Answer

+6 votes
selected by
Best answer

Hi Peter,
you can use this dms-service endpoint to deactivate a process model. Please replace the {modelId}.


You can find a description here, but notice this is an internal endpoint, so you have to check the box on the end of the page:


The model should be now deactived. This means you cant start new processes. But may be this means too that you cant delete it. Because you cant delete models, if there are running process instances. So, before you can delete the model, you have to ensure that no running processes are exists.

The followings will be helpful:


For the first endpoint use the modelId parameter to restrict the results.

I hope this helps you. Feel free to ask, if you have some further questions.

by (2.1k points)
Works like a charm, thanks! :)

Related questions