While trying to run the booking sample, the decider gets invoked 4 times (i.e. the makeBooking method), but only a single call gets sent to the activity task exposed by ActivityHost.java. Can someone explain what is happening here?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Activity tasks suppose to be long/heavy operations. SWF sees that activity was executed in Workflow history and skip it.
Decider on the other hand suppose to be fast. SWF will run it multiple times, injecting results of Activities when they are available. This is called Replay in flow framework.