[英]Can you use an Azure Function to trigger an Azure Logic App?
The time triggers within Logic Apps aren't really specific enough to meet my scheduling requirements, but using the scheduler looks overly expensive for our needs. Logic Apps中的时间触发器还不够具体,无法满足我的调度要求,但是使用调度程序对于我们的需求而言似乎过于昂贵。
I see that functions can use CRON for timed triggering, so wondered if functions can actually be used to call Logic Apps, and hence have the Logic Apps triggered by the CRON time schedules? 我看到函数可以使用CRON进行定时触发,所以想知道函数是否可以真正用于调用Logic Apps,因此Logic Apps是否由CRON时间表触发?
Yes, this should be possible. 是的,这应该可行。 You can invoke the flow from an Azure Function.
您可以从Azure函数调用流程。 You will have to call the Logic App endpoint workflow from the Azure Function.
您必须从Azure函数调用Logic App终结点工作流。 To start with look at this blogpost: Invoking Flows from another Logic App
首先请看此博客文章: 从另一个Logic App调用流程
In your Azure function you can use HttpWebRequest or other mechanisms to call the Logic App endpoint. 在您的Azure函数中,可以使用HttpWebRequest或其他机制来调用Logic App终结点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.