Not able to work on callBack mechanism using AWS Lambda durable functions #1 #409
Closed
pjonnlagadda
started this conversation in
General
Replies: 1 comment 4 replies
-
|
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am using AWS Lambda durable functions and using this i want to achieve the below scenario in POC and i am trying this with some mock https calls
Execute api1→ callback → continue [callback signal will be from AWS CLI]
Execute api2→ callback → continue [callback signal will be from AWS CLI]
Execute api3→ callback → complete
for this i have written some sample code by referring https://docs.aws.amazon.com/lambda/latest/dg/durable-getting-started.html.
When i try to execute the function, i am getting below error message
i have tried with all the below methods available but same error saying that function is not available
const callbackData = await context.waitForSignal(
${state.name}_callback);//const callbackData = await context.signal(
${state.name}_callback);// const callbackData = await context.waitForExternalEvent(
${state.name}_callback);Here is my lambdaFunction code which is in nodeJs in POC as i am trying[the json file the one i am reading is in the correct place and able to parse it]
Thanks in advance,
Praveen
Beta Was this translation helpful? Give feedback.
All reactions