我第一次在 ADF 数据流的筛选活动中使用了 contains() 和 filter() 数组,并尝试查找 type.code 等于“Y”或 org 等于“lib”。但是没有成功。不知道哪里出了问题。我非常感谢任何可以帮助我理解这一点的支持。
contains(record.Organizations.authorOrganization.type,#item.code == 'Y')
|| filter(org,#item == 'lib')
示例Json:
{
"record":
{
"Organizations": {
"authorOrganization": [
{
"num": "1",
"city": "CHICAGO",
"name": "",
"type": {
"code": "Y"
}
}
]
}
},
"org":["lib","dab","wsa"]
}