Created
August 11, 2011 01:19
-
-
Save anonymous/1138705 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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