Step Function: Unable to trigger Standard Step Function via App Sync API #28727
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
My flow is as follows:
App sync API Graphql Mutation called
App sync startExectution on Step function
Note the step function is a STANDARD workflow, not an express workflow due to limited timeout time on the express workflow.
I initially had an express workflow but I switched to a standard workflow. I'm using amplify to define the App Sync Schema and custom/cdk to define the step function.
When I call the mutation nothing happens. The step function does not start. No errors visible. No error response from App Sync
Expected Behavior
Calling the mutation triggers the start execution
Current Behavior
When I call the mutation nothing happens. The step function does not start. No errors visible. No error response from App Sync
Reproduction Steps
I followed this setup guide for the flow initially:
https://aws.amazon.com/blogs/mobile/integrate-aws-step-functions-with-aws-amplify-using-amplify-custom-resources/
Works great as is. I customised it for my purpose and it was working fine. However, I was running into an issue with the initial implementation - the express workflow timeout being only 5 mins. The App sync schema was kept the same.
As a result, I changed express to standard workflow. I can manually execute the standard step function (from the console) and this works as expected.
Code Snippet
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2
Framework Version
No response
Node.js Version
v19.8.1
OS
Mac OS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: