Manage workflow and cycle detection