Correct errors for Workflow API