Triggers an error directly from the process definition.
Ruote.process_definition :name => 'log1' do
sequence do
perform_inventory
error 'inventory issue', :if => '${f:level} < 1'
order_new_stuff
store_new_stuff
end
end
Replaying the error will 'unlock' the process.
Generated with the Darkfish Rdoc Generator 2.