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
3
votes
4 answers

AWS SWF Flow Framework - Eclipse AspectJ Load-Time Weaving

Has anyone managed to get the AWS SDK samples for Simple Workflow and the Flow Framework to work properly? I've followed the Eclipse set-up instructions (http://docs.amazonwebservices.com/amazonswf/latest/awsflowguide/setup.html) to the letter, but…
DeejUK
  • 12,891
  • 19
  • 89
  • 169
3
votes
1 answer

Autogenerated code in amazon swf flow framework throws syntax error

I am trying our amazon's SWF flow framework, but I am getting the below error and the project does not compile. I am using maven for my dependency management and I'm running my code from Intellij. [INFO]…
vikkyhacks
  • 3,190
  • 9
  • 32
  • 47
3
votes
4 answers

Scalable cron architecture on top of AWS

We have web application used by customers and they have option to create reports. Report contains email and scheduled time(Ex: every day, 9 a.m.). When the scheduled time matches the current time web app does some work and sends result to the…
omurbek
  • 742
  • 1
  • 7
  • 23
3
votes
1 answer

Unit testing SWF with @Asynchronous methods

I'm trying to test a workflow that has an asynchronous method - setup roughly looks like this: @RunWith(FlowBlockJUnit4ClassRunner.class) public class testWorkflow { @Rule public WorkflowTest workflowTest = new WorkflowTest(); @Mock …
Allan5
  • 351
  • 5
  • 17
3
votes
1 answer

SWF - Sending input parameters to workflow

I have a SWF workflow decider to which I need to pass a set of values. I already have a class (POJO) which has all these as instance variables. So should I pass the POJO as input parameter or pass the individual…
Exuberant
  • 189
  • 2
  • 13
3
votes
1 answer

SWF: End workflow based on Promise

I have a decider that calls an activity. The activity returns a list of validation errors. If the decider receives that list and it's not empty, I want to exit out of the workflow. To exit the workflow I can just return in the decider, and it exits…
Kias
  • 841
  • 9
  • 22
3
votes
2 answers

boto3's 60s timeout on SWF

SWF documentation suggests "Workers should set their client side socket timeout to at least 70 seconds (10 seconds higher than the maximum time service may hold the poll request)." For the time being my works receive readtimeouts such…
user2123288
  • 1,103
  • 1
  • 13
  • 22
3
votes
1 answer

How to register custom scope in Spring Boot?

I'm trying to register a custom scope to incorporate a third party library, Amazon SWF. Specifically a 'workflow' scope. I was wondering how you would do this in Spring Boot using annotations?
JeffLL
  • 1,875
  • 3
  • 19
  • 30
3
votes
2 answers

Triggering SWF workflow after uploading to S3

I have a workflow which takes a file in an S3 bucket and does a lot of processing and further requests based on the file contents. Currently, clients have to trigger the workflow manually after uploading the file. This seems to be a pretty common…
Pedro Werneck
  • 40,902
  • 7
  • 64
  • 85
3
votes
3 answers

AWS SWF - Return result of workflow

I have started learning amazon web services with simple workflow service. I have completed the eclipse setup for development and successfully completed the hello world workflow application from here. For using the same application on web platform,…
Ashwini Shahapurkar
  • 6,586
  • 6
  • 26
  • 35
3
votes
2 answers

High level PHP library for Amazon SWF deciders to check state of activity tasks

I'm writing PHP for fairly simple workflow for Amazon SWF. I've found myself starting to write a library to check if certain actions have been started or completed. Essentially looping over the event list to check how things have progressed, and…
Michal Charemza
  • 25,940
  • 14
  • 98
  • 165
3
votes
2 answers

Prioritize some workflow executions over others

I've been using the flow framework for amazon swf and I want to be able to run priority workflow executions and normal workflow executions. If there are priority tasks, then activities should pick up the priority tasks ahead of normal priority…
Nithin
  • 139
  • 2
  • 9
2
votes
0 answers

Is there a way to view poller information in the decider or activity workflow worker

How would I know that my application (WorkflowHost, ActivityHost) which represents a workflow / task is polling SWF. Is there a way to instrument the application to view this…
priya
  • 24,861
  • 26
  • 62
  • 81
2
votes
1 answer

Implementing flowchart type workflows in java

We have a service that processes requests, it receives. Workflow for processing each request contains many steps, branches depending on some conditions(intermediate variable etc, result from some service call). Basically whole workflow can be…
RandomQuestion
  • 6,778
  • 17
  • 61
  • 97
2
votes
0 answers

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.
1
2
3
17 18