Questions tagged [amazon-swf]

Amazon Simple Workflow Service (Amazon SWF) is a workflow service for building scalable, resilient applications. Whether automating business processes for finance or insurance applications, building sophisticated data analytics applications, or managing cloud infrastructure services, Amazon SWF reliably coordinates all of the processing steps within an application.

Amazon Simple Workflow Service (Amazon SWF) is a web service that makes it easy to coordinate work across distributed application components. Amazon SWF enables applications for a range of use cases, including media processing, web application back-ends, business process workflows, and analytics pipelines, to be designed as a coordination of tasks. Tasks represent invocations of various processing steps in an application which can be performed by executable code, web service calls, human actions, and scripts.

The coordination of tasks involves managing execution dependencies, scheduling, and concurrency in accordance with the logical flow of the application. With Amazon SWF, developers get full control over implementing processing steps and coordinating the tasks that drive them, without worrying about underlying complexities such as tracking their progress and keeping their state. Amazon SWF also provides the AWS Flow Framework to help developers use asynchronous programming in the development of their applications. By using Amazon SWF, developers benefit from ease of programming and have the ability to improve their applications’ resource usage, latencies, and throughputs.

264 questions
1
vote
0 answers

AWS Step Function vs Lambda

I have a use case to call an activity, on the response of the activity run parallel executions with different configs returning different values. Call Activity : Output -> MasterObject Run parallel threads Thread 1 : Transform MasterObject ->…
1
vote
1 answer

Moving workflows to new version in AWS SWF

Is there a way to move workflows from one version to another in AWS SWF ? Some workflows are waiting to be triggered. The timer has already started. I'm looking to seamlessly move them to new version of the workflow.
Ankit
  • 137
  • 2
  • 10
1
vote
2 answers

Running Parallel Activities in AWS SWF

I am writing a AWS SWF workflow, in which the first activities evaluates the number of partitions and it is passed to child workflow. The child workflow in decider loops over the partition returned by first activity and start the max. allowed…
Ajay
  • 473
  • 7
  • 25
1
vote
2 answers

SWF Activity is not completing even though the computation has finished

I'm testing a new SWF workflow, and I've got some activity that makes a RESTful call out to another service. Problem is, I can see through logging that the actual call takes less than a second to complete, but the Activity always times out in SWF…
jayjyli
  • 771
  • 3
  • 11
  • 23
1
vote
1 answer

How to ensure that Workflow execution should waits till an event is received and then proceeds with further execution

I have requirement where workflow should start execution but it should wait for next subsequent events to do the execution. Events are generated based of API calls that the service receives from client. The events semantics is based on a state…
1
vote
1 answer

AWS SWF Find Child Workflow Instance / runid

If I have created a child workflow using StartChildWorkflowExecution now in the parent workflow while handling a signal how do I find if there is any Child workflow running and if yes whats it's runid so that I can send signal or terminate the child…
Rohit
  • 75
  • 6
1
vote
2 answers

Dependency based ETL flow in AWS

We want to create a dynamic flow based on input data in S3. Based on data available in S3 and along with meta data we want to create dynamic clusters and dynamic tasks/transformation jobs in the system. And Some jobs are dependency based. Here I am…
1
vote
2 answers

Does anyone know how to fix boto.exception.SWFResponseError: SWFResponseError: 400 Bad Request on AWS GovCloud

I am trying to register a domain on SWF using boto. But it's throwing me this error. Traceback (most recent call last): File "register.py", line 17, in swf_entity.register() File…
1
vote
2 answers

How are Amazon SWF signals intended to be processed?

So, I have a scenario in which I periodically call SignalWorkflowExecution() passing in a request for work flow signalling. In the Decider I have coded, I see it then receive on its next poll request, the signal in the history of events (and a…
superqd
  • 333
  • 4
  • 12
1
vote
2 answers

JBPM vs AWS SWF

I am new to BPM tools and I have a choice to choose between JBPM and AWS SWF for my Java application workflow. Don't have enough deadline to work on both and than choose. My other applications will be hosted on AWS only and if I use JBPM and that…
1
vote
1 answer

AWS Lambda function to start "Simple Workflow(SWF)" Execution in AWS

Is it possible to start a AWS-SWF workflow from a Lambda function registered in AWS? I wrote a POC in Java using "Flow Framework" to start a workflow from Lambda, triggered by S3 insertion. But the lambda function, while trying to talk to SWF…
1
vote
1 answer

How to start AWS SWF workflow with a mail?

I've defined a workflow in SWF implementing the workers in Java code and it's working as expected. However, I'd like to be able to start an instance of it by sending a mail. What are the good practices to do it? Is there any example published? Any…
Andres
  • 10,561
  • 4
  • 45
  • 63
1
vote
1 answer

(AWS SWF) Is there a way to get a list of all activity workers listening on a particular tasklist?

In our beta stack, we have a single EC2 instance listening to a tasklist. Sometimes another developer in the team start's his own instance for testing purposes and forget to turn it off. This creates problems for the next developer who tries to…
rohan013
  • 199
  • 1
  • 1
  • 14
1
vote
2 answers

Managing a 'dynamic' AWS Lambda workflow

Say I have a Lambda function called 'TestExecutor' which takes takes in an argument which contains ARNs for N 'Tests' which are also implemented as Lambda functions. The workflow: TestExecutor is invoked with a list of ARNs of various…
1
vote
1 answer

How to change AWS SWF domain retention period

Is it possible to change the retention period of a SWF domain? If it is, how? Thanks!
A. Person
  • 23
  • 2