Hi John, My use case is this - we have ruote behind a Rails application. We have a participant that makes a web request to another app to retrieve some data that takes a while to retrieve. The participant then sits and waits until the other app calls back to the Rails app via a web callback, letting it know that the data is ready for download and that ruote should move onto the next step in the process (i.e. the "download data" step).
The web callback uses @dashboard.storage_participant.proceed(workitem) to programatically "complete" the "request data" step, so that ruote can move onto the "download data" step. The callback needs to know if the "request data" step was successfully "completed" so that it can return a 200 response to the other app, letting it know the callback was received and the process has moved on. Due to the asynchronous nature of ruote, perhaps the web callback should just return a 200 as long as the request was received and ruote was successfully told to proceed to the next step. Then, we would use some other mechanism to handle the case where ruote was unable to move to the next step for some reason. Or, perhaps there's a better way to accomplish what we're trying to do. Denis On Thursday, September 19, 2013 2:05:14 PM UTC-5, [email protected] wrote: > > Hello, > > After calling @dashboard.storage_participant.proceed(workitem), what is > the best way to check if ruote successfully proceeded to the next > participant? > > I tried following the method calls in the ruote source code to see if the > proceed method (in Ruote::StorageParticipant) returns a value that would > indicate this, but wasn't able to determine whether it does or not. > > Thanks, > Denis > -- -- 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 --- You received this message because you are subscribed to the Google Groups "ruote" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
