workflow consume/execute from code #305
Replies: 1 comment
-
|
Hi @walnut-co How you call a workflow created in the new Azure AI Foundry portal from C# depends on how the workflow was built. If the workflow is created using Azure Logic Apps (for example, a Foundry workflow that starts with an “When an HTTP request is received” trigger and ends with a Response action), the workflow automatically exposes an HTTPS endpoint. This is the simplest and recommended way to call a Foundry workflow from C#. In this case, your C# application just performs an HTTP POST to the Logic App trigger URL using If the workflow is a Foundry-hosted workflow or multi-agent workflow created directly in the new Foundry workflow builder, invocation is currently handled through Foundry UI execution, Agent Service, or REST-based agent calls, depending on the workflow type. Direct C# SDK invocation of workflows is limited or preview-only and not guaranteed across all workflow types. In these cases, you typically invoke the workflow through:
See: So Best Practice Tips
Hope this helps. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a workflow in new azure foundry portal. Is there a way to call this workflow from c# or code ?
Beta Was this translation helpful? Give feedback.
All reactions