AI-736 : use getFormInstance instead of queryInstance