Hi. I have this collection [
{
“CollateralId”: 977763,
“CollateralName”: “A”,
“CollateralGroup”: 0,
“CollateralGroupDesc”: “Nhóm 0”,
“AssetType”: “STKK”,
“AssetTypeDesc”: “B”,
“Relation”: “CCSH”,
“RelationDesc”: “Z”,
“CollateralValue”: 37389430,
“BlockStatusCode”: null,
“BlockStatusDesc”: null,
“Guarantee”: null,
“GuaranteeDesc”: null
},
{
“CollateralId”: 977764,
“CollateralName”: “ABC”,
“CollateralGroup”: 0,
“CollateralGroupDesc”: “Nhóm 0”,
“AssetType”: “GTCG”,
“AssetTypeDesc”: “F”,
“Relation”: “CCSH”,
“RelationDesc”: “T”,
“CollateralValue”: 37389430,
“BlockStatusCode”: null,
“BlockStatusDesc”: null,
“Guarantee”: null,
“GuaranteeDesc”: null
}
] as arraylist in camunda variable
How can I can loop this arraylist and check that all AssetType contain in this list [“STKK”,“TKTG”,“GTCG”] define the code in one dmn input column and it will return only true or false
I had tried this syntax
every item in ProductCriteria_SP_CREDITHISTORY_V1_JSON_2_ArrayList satisfies(item.AssetType in [“STKK”,“TKTG”,“GTCG”])
But the result always return false when in this data above have AssetType is STKK