LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Is it possible to have multiple separate functions for a workflow workspace?

Open Andrew-Lahikainen opened this issue 1 year ago • 2 comments

Describe the issue

Is it possible to have 2 separate functions (in 2 separate files) in my Functions dir which can be found by the designer? I've tried to go through the wizard to add an azure function but I receive this error:

spawn C:\WINDOWS\system32\cmd.exe ENOENT

Are there any resources available for me to read about where the designer looks for these functions?

Here's my current dir structure:

image

I can see that when I dotnet build that my additional function generates metadata inside bin\Debug\net8\functions.metadata

Let me know if you need more info

Are you using new designer or old designer

New Designer (With action panels)

Screenshots or Videos

No response

Browser

na - using vscode

Additional context

No response

Andrew-Lahikainen avatar Aug 14 '24 06:08 Andrew-Lahikainen

HI @Andrew-Lahikainen I had a chat with the custom code team and there is a bug today that makes the contract to not be updated. The fix for that is underway, but a workaround for that is do a dotnet clean before your dotnet build. According to the team, this will make the right contracts appear in the logic apps bin folder, which is what drives the designer to find them. Let us know if that solves your problem for now.

wsilveiranz avatar Aug 15 '24 18:08 wsilveiranz

This worked, thank you!

Andrew-Lahikainen avatar Aug 16 '24 05:08 Andrew-Lahikainen