262 questions
0 votes
2 answers
2k views
MDC value missing from log
My app is running on amazon SWF and I want to be able to see all the logs of a specific request using an slf4j MDC. For some code flows I see the MDC in the logs, but for some they are missing, for ...
1 vote
1 answer
472 views
Aws cdk for simple workflow (SWF) domain
I am using CDK for deployment of SWF application. SWF workflow and activities are getting created when I start the worker. I am searching about how to create swf domain using CDK instead of creating ...
0 votes
1 answer
391 views
Do we need to increase activity version in SWF for increasing its timeout?
We have an existing workflow where we need to increase timeout for an activity (Start to Close) to enable an urgent processing. Do we require to do a version bump up on activity ?
0 votes
1 answer
53 views
What happens when we call @Execute method of SWF Flow workflow?
I know from the documentation, that when a workflow worker gets a decision task, it executes the whole workflow with replay history by calling the method annotated with @Execute. I am trying to find ...
0 votes
1 answer
128 views
Is there any special configuration needed for @ExponentialRetry in AWS FlowFramework of SWF?
I am using @ExponentialRetry on the activity, but it is not retrying the activity. Here is my code in Intellij IDEA. This is my Activities interface @ExponentialRetry( initialRetryIntervalSeconds =...
0 votes
1 answer
282 views
Rerun a failed workflow in SWF
In AWS SWF, if the decider has failed some workflow executions due to SCHEDULE_TO_START timeout in activities, then how can we re-run them both using AWS console and in program? Is there any other ...
3 votes
1 answer
390 views
Does Amazon Cloudformation support SWF domains, workflow types and activity types?
I am struggling to find any documentation or examples of a cloudformation template for a SWF domain, workflow types and activity types.
0 votes
1 answer
200 views
what does PendingTasks metrics in SWF signify?
AWS documentation is not descriptive enough for figuring out the significance of PendingTasks metrics. refer : https://docs.aws.amazon.com/amazonswf/latest/developerguide/cw-metrics.html I wanted to ...
0 votes
1 answer
152 views
What happens when we trigger the SWF Flows @Execute method multiple times?
We have a usecase where we start a workflow (by invoking @Execute method) and the we schedule a timer for a subsequent activity. Now, this triggering of workflow is based on API call which can be ...
1 vote
1 answer
486 views
How can we fail an SWF workflow execution within AWS Flow Workflow code
We have a flow where if some actions are not done by a certain time period, we want to fail the workflow, to use alarming mechanisms. For failing the workflow, I was initially thinking of just ...
0 votes
1 answer
44 views
In AWS flow framework, Can we have same activity implementation being used by 2 different workflows
We have a requirement where we have 2 separate workflows but there are few common activities between them. We want to save the effort of replicating the code in 2 places and maintain it separately for ...
1 vote
2 answers
372 views
AWS SWF - activities client generation not working (Maven, IntelliJ)
I'm working through the SWF tutorial right now and trying to get GreeterActivitiesClient in GreeterWorkFlowImpl. I'm getting "Cannot resolve symbol" error for the Client and the ClientImpl. ...
1 vote
1 answer
102 views
how to have multiple SWF domain share the same workflow decider and activity code
We have a use case in SWF, where we want to segregate SWF workflow executions in different domains per calling clients. We want to reuse the workflow decider code and activity code across all domains ...
6 votes
1 answer
6k views
How to implement manual approval in AWS Step Functions? What's the recommended workflow engine between SWF and Step Functions?
Step Functions now support callback features to support manual approval. I wanted to know how the task token is generated and if we can pass our own task token string so that we do not require to ...
0 votes
1 answer
233 views
Can a timer scheduled in AWS SWF workflow fail to deliver back the tick?
We are using AWS SWF for our workflows where we need to schedule an activity based on cron expression. We are evaluating the Cron and using WorkflowClock for creating the timer. Wnated to get answers ...