On this page
process-instance
Commands for managing individual process instances in SHAR workflows.
Subcommands
cancel
Cancels a running process instance.
Usage:
shar process-instance cancel <process_instance_id>Arguments:
process_instance_id- The ID of the process instance to cancel
Example:
shar process-instance cancel pi_abc123Output: Confirms the cancelled process instance ID.
dump
Dumps the complete history of a process instance.
Usage:
shar process-instance dump <process_instance_id>Arguments:
process_instance_id- The ID of the process instance to dump
Example:
shar process-instance dump pi_abc123Output: Returns the complete execution history for the specified process instance, including all state transitions and events.