QuestionQ170Verified/Monitor and troubleshoot Azure solutionsCopy linkReport a problemAsk AstroTutorSave questionYou need to resolve the error in the RequestUserApproval Function app. What should you do?AUpdate line RA13 to use the async keyword and return an HttpRequest object value.BConfigure the Function app to use an App Service hosting plan. Enable the Always On setting of the hosting plan.CUpdate the function to be stateful by using Durable Functions to process the request payload.DUpdate the functionTimeout property of the host.json project file to 15 minutes.Show AnswerAnswerExplanationApproval workflows require a stateful process that can pause for a human response, receive that response as an external event, and optionally handle a timeout. Durable Functions provide durable orchestration state and the human-interaction pattern for this purpose; a standard HTTP-triggered function cannot remain awaiting an approval response indefinitely.Learn moreHuman interaction pattern in Durable FunctionsAzure Functions HTTP triggerShow comments6Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion