简体   繁体   中英

Getting post of azure Logic app to Data Factory

I need to get the body of the post request from azure logic app to Data factory. How do I get the request body in Data Factory from Azure Logic App??

In Data Factory, under azure function, what do I have for body as dynamic content? I've tried @activity('body') . That doesnt work.

Here's the flow:

Logic App -> POST request -> Data Factory -> Function POST (body?)

You cannot trigger an ADF pipeline with a body. As a workaround, you can trigger the logic app from ADF. This activity is by default asynchronous. You will need to do this synchronously. You can do this by adding a response at the end of the logic app as shown below. 在此处输入图片说明

Your Pipeline can then trigger your function as the next step using the response from the Logic app trigger. In my case, the response I'm passing from the logic app to ADF and then to my Function is "This is some test response". 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM