add integration test for archived process instance deletion
BS-8730: add foreign key definition between flownnode_instance and process_instance to improve database consistency