如何将查询的结果塞入变量中并在逻辑应用中使用另一个查询
我没有经常使用逻辑应用程序,我的老板很难将一个查询的结果塞入变量中,然后在另一个查询中使用该变量。
基本上,他要做的就是从第一个查询中获取ID返回的列表,并在第二个查询中使用该列表。
您可以在第二个查询的末尾查看他想检查ID是否在列表中。他已经出去了一天,我不确定该变量是否甚至成功地收到了ID的列表,但是您可以从图片中看到任何需要纠正的东西?还是他可以尝试的任何建议,以实现他要实现的目标?
I haven't used logic apps a lot, my boss is having trouble stuffing the results of one query into a variable and then using that variable in another query.
Basically, all he wants to do is get a list of of Id's returned from the first query and use that list in the second.
Here is a picture of what his logic app looks like:
You can see at the end of the second query he wants to check if the id is in the list or not. He's out for the day and I'm not sure if that variable is even receiving the list of id's successfully, but is there anything from the picture that you can tell that needs to be corrected? Or any suggestions that he could try, to achieve what he's trying to achieve?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据图像,没有数据存储在变量appid中。在查询中,您可以直接使用
c.EntityId
。以下查询以检查c.entityid中是否存在c.ID。考虑如果您要将C. c.的态度存储到acpid变量中,则可以查询
从C
中选择C.EntityID,然后使用附加到数组变量
>将结果存储到变量中。通过仅使用解析JSON
提取C.EntityID来操作。这是我的逻辑应用
结果:
According to the image, no data is getting stored into the variable AppId. While in the query you can just directly use
c.EntityId
. Below query to check if c.id is present in c.EntityId.Consider if you are trying to store c.Entity into AppId variable then you can Query
SELECT c.EntityId FROM c
and then store the result into the variable usingAppend to array variable
action by extracting only c.EntityId usingParse JSON
.Here is my logic app
RESULT: