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

How do I create a Private subnet using AWS java SDK

I am able to create a subnet in my vpc. But, its a public subnet. However I would like to create a private subnet associated to my VPC. How could I acheive that. Thanks. private static Subnet createSubnet(AmazonEC2 ec2, String vpcId, String az,…
user3335406
0
votes
2 answers

Separate Task Lists for Activities - AWS SWF

I have a use case where I would want 10 worker threads in my system. Out of this, 6 worker threads should poll to one Task List and 4 worker threads to another task list. I configured my code in such way on Flow Framework. One of my activities is…
0
votes
1 answer

Trouble in using AWS SWF

I am new to Amazon simple workflow service. Is there a way to run the swf workflows on EMR. I have AWS CLI setup and able to bootstrap hadoop and bring up the cluster. I have not found enough documentation on this and no source on the web. Is there…
user3335406
0
votes
1 answer

Amazon AWS SWF Wait for signal

I'm building a flow process which requires user intervention at some point. I've read through the documentation and see that I'm supposed to use SWF signals to continue moving through my flow. I'd like to know if there is a way to the flow wait for…
bertmaclin
  • 304
  • 3
  • 16
0
votes
1 answer

Break out of loop in AWS SWF activity

I'm running permanent loop in SWF Activity. Say like a web crawler crawling a website www.example1.com. However, I don't want to wait until it finishes crawling, but at certain time I want to terminate the activity and switch it to craw website…
Tommy
  • 7,400
  • 4
  • 30
  • 26
0
votes
2 answers

AWS SWF createTimer promise not returning

I want a loop that after each iteration waits for a while. I'm trying to use a timer to do the waiting, but the timer never returns, so the below code only runs once and then waits forever. When I remove the timer condition, the code executes…
Kias
  • 841
  • 9
  • 22
0
votes
1 answer

Exit workflow early based on the result of an activity

I think my question has a straight forward answer, I just can't seem to find it. I have a basic workflow: private void doWorkflow() { Promise result = activityClient.checkSomething(); if (result.get() == true) { //exit …
Kias
  • 841
  • 9
  • 22
0
votes
1 answer

aws swf - get workflow execution id from within the workflow

I am using Amazon SWF service to automate some recurring tasks. I am trying to use signals to execute some commands on remote machines. After the commands are finished executing, I'd like to send a signal back to the workflow to indicate success or…
dopplesoldner
  • 8,891
  • 12
  • 44
  • 55
0
votes
1 answer

Multiple Task Lists Polling Using Flow

I'm trying to figure out how utilizing SWF Flow framework, I can have my activity worker poll multiple task list. The use case is for having two different priorities for activity tasks that need to be completed. Bouns points if someone uses glisten…
schone
  • 562
  • 4
  • 13
0
votes
1 answer

Returning Promise from AWS.SWF Workflow

It seems that according to swf-docs the following code: @Workflow @WorkflowRegistrationOptions( defaultExecutionStartToCloseTimeoutSeconds = 60, defaultTaskStartToCloseTimeoutSeconds = 10) public interface MyWorkflow { @Execute(version =…
Neil
  • 7,482
  • 6
  • 50
  • 56
0
votes
1 answer

Scope of SWF Run id

I would like to know if the RUN ID generated by SWF is unique across the board or is it unique only to a domain + workflow id combination. Essentially, if I want to store workflow status and other meta data outside of SWF, will it be prudent to key…
Dhan
  • 91
  • 1
  • 9
0
votes
1 answer

Simple Workflow register a new version

I changed the timeout of an activity. In aws doc, it says I must register a new version of that type in this case. But how to let the execution use the new version?
user1510412
  • 133
  • 2
  • 8
0
votes
1 answer

AWS SWF - How can I pass an argument to a a workflow task?

I am just starting out with the AWS Flow Framework for Java. Essentially I am trying to extend the HelloWorld tutorial but have hit a wall. I have defined a new method autoScale in the interface which accepts a String arguement as follows public…
dopplesoldner
  • 8,891
  • 12
  • 44
  • 55
0
votes
1 answer

Amazon Simple Workflow - Given workflowID List all executions

Workflow when started again, with the same workflowID, but it gets a different runID. Is there a way to retrieve such executions (containing different runID) of a given workflow ID? I explored ListClosedWorkflowExecutionsRequest API, but it just…
RandomQuestion
  • 6,778
  • 17
  • 61
  • 97
0
votes
1 answer

Scheduling the same activity with different arguments in Amazon SWF

I am trying to schedule an activity in Amazon SWF. Initially, I used to loop through a list and schedule the activity for each value of the list. But this would invoke the activities in parallel which I did not want. So, I modified my code to do…
coder
  • 171
  • 1
  • 5
1 2 3
17
18