Book Image

Alfresco Developer Guide

Book Image

Alfresco Developer Guide

Overview of this book

Table of Contents (17 chapters)
Alfresco Developer Guide
Credits
About the Author
About the Reviewers
Preface
Index

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. Unfortunately, there's not a link in the UI for it just yet. The URL is http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp. The following table shows some common commands and what they do:

Command

What it does

show workflows all

Shows all running workflows.

use workflow <workflow id>

where <workflow id> is something like jbpm$71

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