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
1 answer

Why is the descisionTask not receiving any task from AWS-SWF service (SWF)?

I am using Nodejs for the backend. I tried this npm package to create a simple work flow (AMAZON-SWF). The package has an example folder which contains files which I put in my node project so that I understand how it works. The problem is that the…
nsp
  • 378
  • 1
  • 4
  • 19
1
vote
1 answer

Amazon SWF Parallel Child Workflow Executions Halt Parent Workflow

I am attempting to start two parallel executions of a child workflow with differing starting parameters. However, I am noticing that only one of those child workflow executions is run. The parent workflow execution halts due to tasks not being…
Chris I
  • 43
  • 5
1
vote
1 answer

aspectj-maven-plugin error: type already defined

I'm trying to use AspectJ with Maven for Amazon SWF. I've added the plugins to generate client code and to weave aspects. I've also added the maven-compiler-plugin to disable annotation processing. When I run mvn compile I see that the client code…
Chai Nadig
  • 417
  • 1
  • 6
  • 23
1
vote
2 answers

Amazon SWF Flow - Handling timeouts

I'm working on a relatively simple workflow using Amazon's Flow framework for Java. I think I have a decent grasp of everything that's going on right now, but I have one area I'm still uncertain about: how should I go about handling timeouts? The…
AeroSpartacus
  • 121
  • 2
  • 8
1
vote
0 answers

Why do I see ClassCastException in Groovy through @Delegate method

I have a class (I'm using the library Glisten) that defines a @Delegate member. class PendingActionWorkflowImpl implements PendingActionWorkflow, WorkflowOperator { /*** * The @Delegate transformation makes all the…
Setheron
  • 3,520
  • 3
  • 34
  • 52
1
vote
2 answers

Programmatically Re-Running SWF Workflows

We have a few thousand SWF workflows that have failed over the past year due to various activity bugs. Because the bugs were long-lived, all activity retries failed and the workflows were closed. I want to re-run all of those failed workflows,…
MonkeyWithDarts
  • 755
  • 1
  • 7
  • 17
1
vote
1 answer

Amazon SWF sharing activity tasks among different workflows

Basically what the title says: I want different workflows to be able to wait on the completion of shared tasks. For example, workflow 1 needs tasks A, B, and C completed, while workflow 2 needs tasks C, D, and E completed, before they move on to do…
1
vote
1 answer

How to integrate AWS SWF using PHP so it can be managed from a user interface?

I'm using LAMP to build a CMS that allows administrators to upload an MP4 to an Amazon S3 Bucket, convert it several times using Elastic Transcoder, and update the local database so they can be delivered using Cloud Front. Every step is now working…
Javi Prieto
  • 429
  • 3
  • 14
1
vote
3 answers

Troubleshoot UnknownResourceException when following AWS tutorial

I'm attempting to follow this AWS tutorial. But I'm having trouble at "You can run GreeterWorker successfully at this point." as I'm getting an UnknownResourceException. Exception in thread "main"…
GridDragon
  • 2,857
  • 2
  • 33
  • 41
1
vote
1 answer

Limiting TPS on downstream service with Amazon SWF

I'm writing a workflow using Amazon SWF and was wondering how to control the TPS on downstream services. I have a parent workflow that kicks off several child workflows that run in parallel. My child workflow calls several downstream services (each…
Allan5
  • 351
  • 5
  • 17
1
vote
1 answer

What is the Activity Id in AWS SWF?

When you schedule an Activity in AWS SWF, you have to provide an activity…
Roberto Tyley
  • 24,513
  • 11
  • 72
  • 101
1
vote
3 answers

Which one is a better scheduler in AWS Data Pipeline and AWS SWF

I have a situation where I have to trigger my workflow based on this condition "It has to process all files in s3 and then start again when there are files in s3". However, I found that Data Pipeline starts every scheduled duration while SWF starts…
ZZzzZZzz
  • 1,800
  • 3
  • 29
  • 51
1
vote
0 answers

Can I use ActiveJob with an Amazon SWF backend?

There's all kinds of documentation out there about the new ActiveJob framework included in Rails 4.2. But there is no documentation about how to actually write a backend for it. Or in general, what the framework expects from a backend. I was…
awendt
  • 13,195
  • 5
  • 48
  • 66
1
vote
1 answer

AWS IAM - Read Only Access Policy for SWF Domain

I'd like to grant a group read-only access to an entire SWF domain. The users in this group will be able to see all workflow instances and the events / activities history of each workflow. They will not be able to create workflows, activities, or…
Lloyd Banks
  • 35,740
  • 58
  • 156
  • 248
1
vote
1 answer

Requiring workflow class in workflow starter code

I have a simple question regarding the architecture of my Amazon Simple Workflow / AWS Flow for Ruby app. For background, I have a simple workflow with one activity running in an AWS Flow for Ruby layer on Opsworks. I have a separate REST API…
readyornot
  • 2,783
  • 2
  • 19
  • 31