API Reference > ui-framework > WorkflowTask > WorkflowManager > setActiveWorkflowAndTask setActiveWorkflowAndTask MethodStatic Sets the active Workflow and Task setActiveWorkflowAndTask(workflow: Workflow, task: Task): Promise<void> Parameter Type Description workflow Workflow The Workflow to set as active task Task The Task to set as active Returns - Promise<void> Defined in ui/framework/src/ui-framework/workflow/Workflow.tsx Line 233 Last Updated: 11 June, 2024