set submission state to error if there's a problem creating a workflow