如何使用从“过滤器数组"获得的输出更新json对象(来自先前的“解析json"步骤) [英] How to update json object (from previous 'parse json' step) with output obtained from 'Filter array'
问题描述
我是新手,如果答案太直截了当,请耐心等待.我从先前的解析json"步骤中获得了json对象"body".我从过滤器数组"步骤中获得了另一个输出(具有三个参数).
I am a newbie, please bear with me if it is too straight to answer. I have got json object 'body' from previous 'parse json' step. I have got another output (having three parameters) from 'Filter array' step.
我想从过滤器数组"输出中获取两个参数,并更新json对象"body"中的参数.
I would like to grab two parameters from Filter array' output and update those in json object 'body'. How this can be done ?
推荐答案
有几种简单的步骤可以做到这一点:
There are couple of ways to do this in simple step :
1)使用compose动作从两个不同的逻辑应用程序动作集中构造JSON有效负载.
1) Use compose action to construct a JSON payload from two different logic apps action set .
2)将两个请求的主体都传递到功能App中,并构造一个类型化的功能内的对象.这将要求您将请求映射为带有响应
2) Pass on the body of both the request into function App and construct a typed object within functions . This will require you to map the request with response
这篇关于如何使用从“过滤器数组"获得的输出更新json对象(来自先前的“解析json"步骤)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!