Created
March 15, 2010 09:00
-
-
Save irfn/332638 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#All the REST POST calls may resturn a 422.. | |
test_pdef = Ruote.process_definition :name => 'test' do | |
cursor do | |
sequence do | |
participant :alpha #a user intervention that is like a confirmation | |
participant :beta # no user intervation required. in my case just a REST call(POST) | |
rewind :if => '${422_etc_in_previous_step}' | |
participant :gamma # no user intervation required. based on return of :beta pass arguments to :gamma | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment