Skip to content

UserTask

dart
Workflow.userTask<I, R>(
  name: 'orders.approve',
  version: 1,
  input: inputCodec,
  response: responseCodec,
);

The workflow awaits flow.userTask(...). Completion goes through completeUserTask on the runtime or service API. Graph UserTaskExecutors are legacy.

See Also