You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any news about a fix/or am I doing something wrong for running inline JavaScript actions locally in VS Code on Windows without needing to spin up the JS Analysis manually?
As of 2024 I'm still struggling with running workflows that have inline JavaScript actions in VS Code locally.
I've followed #659 and was able to run the workflows after manually spinning up the JS Analysis index.js script.
If I don't do this, I get the following log statement:
Workflow 'stateful_with_js' validation and creation failed. Error: 'One or more errors occurred.
('No connection could be made because the target machine actively refused it. (localhost:61740)'.
Status code: 'InternalServerError'.)
And the workflow is not added, resulting in a 404 when I try to call the trigger or go to the overview page.
To add to this topic, after enabling above workaround and making workflow run, I noticed that whatever changes I do to workflow.json will not be deployed to locally running vscode environment.
I got changes to be run only by
removing the workaround
make changes to workflow.json
stopping and starting local runtime (shift F5 + ctrl F5)
enabling the workaround
stopping and starting local runtime (shift F5 + ctrl F5)
= now I could run the changes I wanted locally.
No idea why it behaves like this but perhaps inline JS and Logic App Standard on vscode quite isn't an option to develop these?
Describe the Bug
Is there any news about a fix/or am I doing something wrong for running inline JavaScript actions locally in VS Code on Windows without needing to spin up the JS Analysis manually?
As of 2024 I'm still struggling with running workflows that have inline JavaScript actions in VS Code locally.
I've followed #659 and was able to run the workflows after manually spinning up the JS Analysis index.js script.
If I don't do this, I get the following log statement:
And the workflow is not added, resulting in a 404 when I try to call the trigger or go to the overview page.
The reason why I still have an issue, is because I'm trying to use https://github.com/michaelstephensonuk/IntegrationPlaybook-LogicApp-Standard-Testing, based on example https://github.com/michaelstephensonuk/IntegrationPlaybook-LogicApp-Standard-Testing-Example/blob/main/logicapp.testing.unittests/ReadMe.md, both locally in VS Code as well as in an Azure DeveOps pipeline. But the workaround from the discussion does not work here.
OS
Windows 11
Azure Logic Apps (Standard) VS Code Extension
v2.125.2
Azure Functions Core Tools
Core Tools Version: 4.0.5571 Commit hash: N/A +9a5b604f0b846df7de3eb37b423a9eba8baa1152 (64-bit)
Function Runtime Version: 4.30.0.22097
Microsoft.Azure.Functions.ExtensionBundle.Workflows
1.58.21
node --version: v20.11.1
Different from ...\.azurelogicapps\dependencies\NodeJs> .\node.exe --version: v18.17.1
Plan Type
Local
Steps to Reproduce the Bug or Issue
Http
trigger and aJavaScriptCode
actionAttach to .NET Functions
launch configWorkflow JSON
local.settings.json
host.json
Screenshots or Videos
No response
Additional context
No response
AB#27249342
The text was updated successfully, but these errors were encountered: