Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
73 stars 80 forks source link

VS Code_Webhook testing_Office actions. #2311

Closed v-prakumar closed 1 year ago

v-prakumar commented 1 year ago

Describe the Bug with repro steps

1.Open the cmd and run command ngrok http 7071. 2.Create a stateful workflow in your project of vs code. 3.Copy the ngrok value and paste in local.settings.json like this : "Workflows.WebhookRedirectHostUri": "https://f916-2401-4900-1c5b-6f38-8cd0-1d21-f471-c069.in.ngrok.io" 4.OPen the Designer and add office action : 1. When an email arrives OR 2. When an email mentioning me arrives. 5.Save and Debug the workflow. 6.Goto your office and send the mail to itself for excution.

Expected: The response is to be recorded on the ngrok cmd page with 200.And the workflow should be working fine.

Actual: Workflow is fine. But no response on Ngrok cmd page. image

What type of Logic App Is this happening in?

Standard (VSCode)

Are you using Preview Designer or GA Designer

Preview

Workflow JSON

No response

Screenshots or Videos

No response

Browser

VS Code

Additional context

Vendor Testing

VS Code extension - ​vscode-azurelogicapps-2.15.10.vsix NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzcyNDMyOTY3L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.19.4.nupkg Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.19.4/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.19.4_any-any.zip

AB#24206976

preetriti1 commented 1 year ago

@ccastrotrejo - Do we have a pop up from vscode to get user inputs for webhook url when webhook actions are added? Or an extension command to add the webhook url?

ccastrotrejo commented 1 year ago

@preetriti1 we have this command to configure the webhook endpoint

image
v-prakumar commented 1 year ago

@ccastrotrejo Issue is not reproducible in this vsix : 2.24.3 image Getting response in the NGROK cmd image