before using Task in IWorkflow