API Reference > ui-framework > WorkflowTask > Workflow > getTask getTask Method Gets a Task with a given Id. getTask(taskId: string): Task | undefined Parameter Type Description taskId string Id of the Task to get Returns - Task | undefined Defined in ui/framework/src/ui-framework/workflow/Workflow.tsx Line 84 Last Updated: 13 June, 2024