When trying to delete a Process, following error appears :
Unexpected error in server [Unknown error while trying to delete process with ID [<process_id>].]
Example for "Process 5"
In nolio_dm_all*.log there are lines like this :
2025-09-12T02:01:19.513-07:00 [http-nio-8080-exec-4] ERROR (com.nolio.platform.server.dataservices.services.model.ProcessesManagementServiceImpl:317) - Unknown error while trying to delete process with ID [10024].
com.nolio.platform.server.dataservices.api.rc.notifications.RCNotificationException: Cannot remove process [Process 5] id[10026]. It is being used in the Release Center.
at com.nolio.platform.server.dataservices.services.model.ProcessesManagementServiceImpl.deleteProcessTransactionally(ProcessesManagementServiceImpl.java:332) ~[ra-business-logic-services-6.9.0.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) ~[spring-aop-5.3.32.jar:5.3.32]
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) ~[spring-aop-5.3.32.jar:5.3.32]
The process is not present in a non terminated deployment, nor in a step of a deployment plan.
Release Automation - All Versions
The process may be still linked to a Step of a Template Category
1- Go in Environments - Environments and Tags Assignment, search for the process name which should be deleted and click on Find Usage :
This gives the name of the Template Categories where the Process is still linked :
(TPL1 in example below) :
2- Check in the Templates Categories found in step 1 if the process is present in a step (initialization Steps, Deployment Steps or Post Deployment)
Example :
In below screenshot "Process 5" is in a Deployment Step (STEP3) of Template Category TPL1
Delete the step(s) linked to the process in the template categories and try again to delete the process.
If the template category returned in first step is not visible, then it means it is archived. In this case continue with the steps below.
3- Execute following SQL Queries to find the ID of application and ID of archived template category
SELECT ID, APP_NAME FROM applications WHERE APP_NAME='APPLICATION_TEST'
SELECT id, name, archived FROM rc_templates WHERE name='TPL1' and archived=1
Replace APPLICATION_TEST by the name of Application
Replace TPL1 by the name of Template Category
Example :
In below example, application APPLICATION_TEST has ID 3
Template Category TPL1 has ID 1
4- Open Help menu and select "REST API (Swagger)"
5- Click on PUBLIC API V4 and search the POST method getCategorySteps
Click on "Try it out" button :
6- In VersionId put v5
In appId put the application ID found in step 3
In categoryId put the Template Category ID found in step 3
And click on Execute :
In the result find the Process Name which should be deleted and note the ID of step.
In below example "Process 5" is linked to step STEP3 with id 40055
7- Search the DELETE method deleteCategoryStep
Click on "Try it out" button :
In VersionId put v5
In appId put the application ID found in step 3
In categoryId put the Template Category ID found in step 3
In stepID put the Step ID found in step 6
And click on Execute
Output should be like this :
8- Try again to delete the process