The DELETE statement conflicted with the REFERENCE constraint "FK_Eventbus_CustomEventInstance_CustomEvent". The conflict occurred in database "K2DB", table "Eventbus.CustomEventInstance", column 'CustomEventID'. The statement has been terminated.
The error message indicates a dependency-check on the CustomEvent table in K2 database. Would it be possible to disable the process schedule first before deleting it (Edit the process schedule task and uncheck the 'enabled' checkbox)
Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.
Cheers, Kate
K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.