O'Reilly logo

Alfresco One 5.x Developer's Guide - second edition by Jeff Potts, Benjamin Chevallereau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required