org.apache.lenya.workflow
Interface SynchronizedWorkflowInstances

A set of workflow instances with the same workflow schema can be synchronized.
If a transition in this schema is marked as synchronized, it can only be invoked
on all instances in the set at the same time.

When a workflow event is invoked on a set of synchronized workflow instances,
the transition is invoked only if

all instances are in the source state of the transition, and

all conditions of the transition are complied for all instances.

Then the transition is invoked for all instances in the set.

A common usecase of this concept is the simultaneous publishing of
a set of documents (all language versions of a document, a section, ...).