Commands for sending messages to workflow instances in SHAR.

Subcommands

send

Sends a message to a workflow instance.

Usage:

shar message send <message_name> [flags]

Arguments:

  • message_name - The name of the message to send

Flags:

  • -c, --correlation-key <key> - A correlation key to identify the target workflow instance

Example:

# Send a message without correlation key
shar message send "OrderConfirmed"

# Send a message with correlation key
shar message send "PaymentReceived" --correlation-key "order-12345"

Output: Returns success or error message.