On this page
usertask
Commands for managing and interacting with user tasks in SHAR workflows.
Subcommands
list
Lists all user tasks for a specific user.
Usage:
shar usertask list <user_id> [flags]Arguments:
user_id- The ID of the user whose tasks to list
Flags:
-c, --correlation-key <key>- Filter by correlation key
Example:
# List all tasks for a user
shar usertask list "john.doe@example.com"
# List tasks with correlation key
shar usertask list "john.doe@example.com" --correlation-key "order-12345"Output: Returns a list of user task instances assigned to the specified user.