Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2011 01:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/1138690 to your computer and use it in GitHub Desktop.
Save anonymous/1138690 to your computer and use it in GitHub Desktop.
Ruote.process_definition do
sequence do
my_participant :name => 'x', :ptimeout => '10d', :reminder => '9d'
end
# ...
define 'my_participant' do
concurrence :count => 1 do
sequence :lose => true do
wait '${v:reminder}'
participant :ref => '${v:name}', :msg => 'reminder'
end
participant :ref => '${v:name}', :timeout => '${v:ptimeout}'
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment