fix note test setWorkflow