DESCRIPTION

This class represents the item that state is added to. This could, for example, be a ticket in a bug tracking system, or an order in a shopping cart system.

COLUMNS

workflow_instance

A rel to the workflow instance represeting the current state of the item. See Foo::DB::Workflow::Instance for an example.

METHODS

apply_transition $transition

Takes a transition object (see Foo::DB::Workflow::Transition for an example), and applies it.