Skip to main content
Jan 29, 2020 10:26 AM UTC
Question

filter AlertSummary

hi community, 

 

i want to filter the result of queryAlertSummary service by using aanother service that return query ( for example by thingName as a source and sourceProperty as a property: 

var result = {
"filters": {
"type": "And",
"filters": [
{
"type": "EQ",
"fieldName": "source",
"value": sourceThingName
},
{
"type": "EQ",
"fieldName": "sourceProperty",
"value": "mesure"
}
]
}
};

and i put this result as a query of queryAlertSummary service but I don't know what is the problem.

 

thank you in advance

 

2 replies

Jan 29, 2020 1:18 PM UTC

I don't think this is quite enough information.

Are you creating your own custom mashup? Because I think you can't modify the OOTB mashup.

Are you using the overwrite ability?

What does your actual script look like and what is the result when you test it in composer and what does it look like on the mashup?

Feb 6, 2020 9:14 PM UTC

Hi @anassNasser.

 

Have you found a solution to your issue?  If so, please post it here for the benefit of others on the community.

 

Regards.

 

--Sharon