add a workflow state