Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2011 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1138705 to your computer and use it in GitHub Desktop.
Save anonymous/1138705 to your computer and use it in GitHub Desktop.
Ruote.process_definition do
sequence do
participant 'lucas', :timeout => '10d', :reminders => '4d:first_reminder, 9d:last_reminder'
end
define 'first_reminder' do
participant 'email_notifier', :to => '${participant_email}', :msg => 'first reminder'
end
define 'last_reminder' do
participant 'email_notifier', :to => '${participant_email}', :msg => 'LAST REMINDER !'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment