- Newest
- Most votes
- Most comments
Step Functions does not support restart of state machines, and we do not support executions using the same name within the 90 day retention period of your execution history.
For every execution, you should provide a unique "name" or use the GUID provided by the StartExecution response if you do not provide a name.
If you call StartExecution for an open workflow of the same name, then Step Functions will send a 400 error only if the input JSON differs. For the same input, Step Functions will return 200 to affirm the execution is already open. It will not start a duplicate execution.
Step Functions should return 400 error messages for use of duplicate names of closed executions within the 90 history retention period. We will fix this bug, and clarify in the documentation.
See http://docs.aws.amazon.com/step-functions/latest/apireference/API_StartExecution.html, which states: "name The name of the execution. This name must be unique for your AWS account and region for 90 days. For more information, see Limits Related to State Machine Executions in the AWS Step Functions Developer Guide."
I think the use case is for searching executions? it would be nice to be able to search in the UI, based on some meta data. I am also using it as a primative lock.
Is there no way to remove / delete an execution?
When you click Stop in the UI, then search for it, it doesn't exist. But then if you refresh the page and search again, it is in the search results. Assume that is a bug.
Edited by: Qnary LLC on Oct 26, 2017 11:06 AM
Relevant content
- asked 3 years ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- What's the difference between Lambda function execution role permissions and invocation permissions?AWS OFFICIALUpdated 2 years ago