Hi all,
I have the following PD
PDEF_CREATE_DEAL = Ruote.process_definition :name => 'create_deal' do
sequence :on_error=>'process_deal_error_handler' do
cursor do
account_manager :task=>'formulate deal'
reviewer :task=>'review deal'
deal_service :task=>'process deal'
end
end
define 'process_deal_error_handler' do
echo 'in process_deal_error_handler'
deal_admin :task=>'review_error'
echo 'deal_admin replied'
end
end
I am trying to use the on_error attribute to handle errors thrown
during the workflow. When an error occurs I do not see the
'process_deal_error_handler' subprocess that is supposed to handle the
error triggering. If I run RuoteKit.storage_participant.all after I
launch the process I get an empty array. The "deal_service"
participant is a custom participant that does nothing but raise
"OOPS!". I can see in the logs the deal_service is working correctly.
If I remove the on_error attribute I see that there are errors in the
deal_service as expected.
I am using ruote -v2.1.10 and ruote-kit -v2.1.10
Any ideas?
thanks,
Steve
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en