Hi,
I've just added subprocess :ref => uri to ruote 2.0
You can use it to point to a local process definition
subprocess :ref => "/process_definitions/accounting/refund.rb"
# or simply
subprocess "/process_definitions/accounting/refund.rb"
or, if your engine is configured with :remote_definitions_allowed => true
subprocess "http://definitions.example.org/accounting_defs/refund.xml"
My next step is to allow things like
sequence do
set :var => 'refund', :value =>
"http://definitions.example.org/accounting_defs/refund.xml"
# ... later ...
refund
end
Please note that I introduced a simplification in the "set" syntax :
http://github.com/jmettraux/ruote/blob/470594686ee5c4d7110199b86fa9adb6828977c0/lib/ruote/exp/fe_set.rb#L63-88
Best regards,
--
John Mettraux - http://jmettraux.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---