gpt4 book ai didi

azure - 如何将数组输出分配给逻辑应用程序变量?

转载 作者:行者123 更新时间:2023-12-02 08:32:48 26 4
gpt4 key购买 nike

我里面有一个逻辑应用程序,我正在调用函数应用程序,它给出以下输出 -

{
"list1": ["111-11"],
"list2": ["222-11"],
"list3": ["333-11","333-131"]
}

现在,在逻辑应用程序中,我已经采用了 3 个数组变量,并且我想将上述函数应用程序输出分配给这些变量。

我尝试过这样的表达 -

body('GetDataCustomerFunction')?['list1']

但出现以下错误 -

Unable to process template language expressions for action 'For_each' at line '1' and column '3362': 'The template language expression 'body('GetDataCustomerFunction')?['list1']' cannot be evaluated because property 'instance002List' cannot be selected. Property selection is not supported on values of type 'String'.

我是不是漏掉了什么? enter image description here

最佳答案

据我所知,错误是

Property selection is not supported on values of type 'String'.

你能改变header “Content-Type”需要指定为“application/json”

关于azure - 如何将数组输出分配给逻辑应用程序变量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59420550/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com