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