Hi @George Cao
Try adding APP_KIND
to your local.settings.json. Set it to workflowApp
that should alleviate this error. See Edit runtime and environment settings for Standard logic apps - Azure Logic Apps | Microsoft Learn for more details.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
I am trying to set up a local development environment for Standard LogicApp workflows in Visual Studio Code, but I'm encountering a significant issue. It appears that the local environment doesn't work properly when a workflow contains both the "Execute JavaScript Code" and "Transform XML" actions.
On the other hand, if FUNCTIONS_WORKER_RUNTIME is set to "node", a runtime error occurs, stating that the worker was unable to load the function XsltNetFxLanguageWorkerFunction due to an "Invalid or unexpected token" error.
This issue persists even though the recommended value for FUNCTIONS_WORKER_RUNTIME is "dotnet". Both the Extension bundle-based (Node.js) and NuGet package-based (.NET) project types exhibit the same problem
Below is my current local.settings.json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"APP_KIND": "workflowapp",
"ProjectDirectoryPath": "c:\\repos\\fastwayCorp\\Las\\LogicApp\\Code",
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
"WORKFLOWS_SUBSCRIPTION_ID": ""
}
}
Has anyone encountered this issue before or have suggestions for resolving it?
Many Thanks,
George
Hi @George Cao
Try adding APP_KIND
to your local.settings.json. Set it to workflowApp
that should alleviate this error. See Edit runtime and environment settings for Standard logic apps - Azure Logic Apps | Microsoft Learn for more details.