OO Support Tip: What is the procedure to clean all unfinished runs?
To clean all unfinished runs please make sure that there are no flows running in the environment, and run the following queries against the OO database:
1. Stop all Central services.
2. Clean all active run remains from the DB:
TRUNCATE TABLE OO_BRANCH_CONTEXTS;
TRUNCATE TABLE OO_FINISHED_BRANCHES;
DELETE FROM OO_SUSPENDED_EXECUTIONS;
TRUNCATE TABLE OO_EXECUTION_QUEUES_1;
TRUNCATE TABLE OO_EXECUTION_STATES_1;
TRUNCATE TABLE OO_EXECUTION_STATES_2;
DELETE FROM OO_EXECUTION_SUMMARY WHERE STATUS NOT IN (‘COMPLETED’,'CANCELED',’ SYSTEM_FAILURE’);
3. Set manually the splitJoinTrigger to WAITING in the OO_TRIGGERS table
4. Start all Central Services