On 02/05/11 06:38, John Mettraux wrote:
Hello,

up until now, ruote understood process definitions expressed in Ruby, in XML or 
directly as trees (Ruby or JSON).

Thus, this Ruby process definition

---8<---
Ruote.process_definition 'test', :revision =>  '1.0' do
   alpha
   concurrence do
     bravo :timeout =>  '2d'
     charly
   end
   delta :task =>  'final changes'
end
--->8---

[snip]
The new "radial" process definition language looks like :

---8<---
process-definition test, revision: 1.0
   alpha
   concurrence
     bravo timeout: 2d
     charly
   delta task: 'final changes'
--->8---

So, minor point: are blocks indentation driven?

I assume so since 'delta' is not part of the concurrence block.

David

--
"Don't worry, you'll be fine; I saw it work in a cartoon once..."

--
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

Reply via email to