// result: INFOTABLE dataShape: "NetworkConnection" let getChild = Networks["PTC.Factory.PlantNetwork"].GetChildConnections({ name: "Site1_ITHENA SITE-A" /* STRING */ }); getChild.rows.toArray().forEach(row => { // Provide your filter using the format as described in the help topic "Query Parameter for Query Services" if(row.to){ let query = { "filters": { "type": "EQ", "fieldName": "name", "value": row.to, } }; // result: INFOTABLE dataShape: "PTC.Factory.EquipmentStatusTreeDataShape_Copy" let result = Things["PTC.SCA.SCO.ContextUtils"].GetEquipmentNetworkForKPIs_Copy({ includeStructureInFilter: true /* BOOLEAN */, contextName: "DefaultContext" /* STRING */, permissionType: "Read" /* STRING */, filterQuery: query /* QUERY */ }); } });