Debugging workflows
If something goes wrong or you just want to get up close and personal with the execution of a process, you can use the workflow console. The following table shows some common commands and what they do:
Command |
What it does |
showworkflowsall |
Shows all running workflows. |
use workflow <workflow id>
where <workflow id> is something like activiti$7199
|
Makes all subsequent commands happen in the context of the specified workflow. |
show transitions |
Shows all leaving transitions for the current workflow. |
signal <path id><transition>
where<path id> is something like activiti$71 and <transition> is the name of the leaving transition you want to take. Leave off the transition to take the default.
|
Signals the token. Good when your workflow is stuck on a node or when you want to take a transition without going through the task management UI. |
desc path <path id>
where <path id> is something like activiti$71
|
Dumps the... |