I'm newbie into Logic App. And I'm really struggling with some basics of it, especially when it comes to manipulation/selecting of data.
I have a problem with checking if key is present in collection.
I have this variable:
"Initialize_ReportType_Variable": {
"type": "InitializeVariable",
"inputs": {
"variables": [
{
"name": "ReportTypeCollection",
"type": "Array",
"value": "@parameters('reportType')"
}
]
},
"runAfter": {
"Initialize_GAIMFunds": [
"SUCCEEDED"
]
}
}
It returns an output of array:
[
{
"FundKey": "1",
"FundName": "s1",
"ReportGroup": "A",
"StoredProcedure": "SP_1"
},
{
"FundKey": "2",
"FundName": "s2",
"ReportGroup": "B",
"StoredProcedure": "SP_2"
}
]
Then there are like output of variable Process_Filtered_Output:
{
"FilteredResults": [
{
"ProcessID": 1,
"ProcessName": "A1",
"ImportID": 1,
"ImportName": "I1",
"WorkspaceName": "A",
"WorkspaceID": "8a",
"ModelID": "58B4",
"ModelName": "M1",
"ReportType": 1
}
]
}
I just need to check if there is an ReportType = FundKey in Initialize_ReportType_Variable by Process_Filtered_Output.ReportType.
Please help me to figure out how can it be resolved.
I've tried with bunch of approaches like For_Each, but I can't even to write it normal without errors.



