Fixed getMethod by Workflow query