You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started working on aws swf and have developed a simple workflow using AWS flow framework for JAVA. After I register the workflow, when I try to re-run it, it works fine for some time no matter how many times I try that. But after some time, say few hours, re-run stops working. I checked the history and can see that execution is stuck at DecisionTaskScheduled event and so eventually times out. It seems that activity and workflow workers have stopped running as I can see "No Activities found for the given execution" message in Activities tab of the execution history. It starts working again if I run the workflow and activity host manually.
Am I doing something wrong? For my use case, I need workflow and activity workers to run continuously so that I can trigger the workflow whenever I need from my web application.
No, I am using java flow framework to create the workflow. To re-run it, I am using console.
For your reference, I am trying with this sample workflow (http://docs.aws.amazon.com/amazonswf/latest/awsflowguide/getting-started-example-helloworldworkflow.html). I run both GreeterWorker and GreeterMain to start the workers and the workflow. It works fine but as I mentioned, worker service gets stopped after some time due to some reason and so re-run also stops working. If I execute GreeterWorker again, re-run again starts working.
From @jharajeev on January 18, 2016 7:6
I just started working on aws swf and have developed a simple workflow using AWS flow framework for JAVA. After I register the workflow, when I try to re-run it, it works fine for some time no matter how many times I try that. But after some time, say few hours, re-run stops working. I checked the history and can see that execution is stuck at DecisionTaskScheduled event and so eventually times out. It seems that activity and workflow workers have stopped running as I can see "No Activities found for the given execution" message in Activities tab of the execution history. It starts working again if I run the workflow and activity host manually.
Am I doing something wrong? For my use case, I need workflow and activity workers to run continuously so that I can trigger the workflow whenever I need from my web application.
Copied from original issue: aws/aws-sdk-java#607
The text was updated successfully, but these errors were encountered: