Open manikandanrs opened 8 years ago
Are you creating the workflows through console ?
From @jharajeev on January 20, 2016 19:21
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