process instance that is not terminated or closed. [retry 3 of 3 scheduled]

Message :

Timer CleanData error (inside action 'CleanData'). Timer duration = 0 secs:The specified process identifier is associated with a process instance that is not terminated or closed. [retry 3 of 3 scheduled]


Stack:

OutSystems.RuntimePublic.Processes.ProcessDeletion+InvalidProcessStatusException: The specified process identifier is associated with a process instance that is not terminated or closed.
   at ssApp_CMS_Dynamite.RssExtensionBPT_API.MssProcess_Delete(HeContext heContext, Int32 inParamProcessId)
   at ssApp_CMS_Dynamite.Actions.ActionCleanData(HeContext heContext)
   at ssApp_CMS_Dynamite.TimerCleanData.Execute(HeContext heContext, Int32 timeout)

your question might be "I'm getting an error while deleting a process, how can I fix it?"

an answer might be: "Please first execute ProcessTerminate to terminate the running process (if that is allowed in your use case). After terminating you might be able to delete it."
an answer from another one might be "why would you like to delete processes? There is a DBCleaner forge component which can delete old processes every x weeks."

Regards,


Hans