Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Are there Synchronous Standard Step Functions Workflows

Are there Synchronous Standard Step Functions Workflows? Or Synchronous Workflows are only for express step-functions?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Synchronous is only available for Express Workflows. If you want to have your application start an Standard Workflows Execution and continue based on the result, you have three options:

  1. If you are calling this from within another Standard Workflow, you can use the .sync service integration pattern for Step Functions itself.
  2. If you are building in an Event-Driven manner, you can use Execution Status Change Events.
  3. You can add a loop to your code that calls StartExecution, gets the Execution ARN, then periodically calls to get the status, then returns the result. You could even implement that logic in an Express State machine, say building in the logic to break-out with a "still in progress" before the 5-minute timeout for express. Then call that as a Synchronous Express Execution.
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading