cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

filter AlertSummary

anassNasser
7-Bedrock

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 2
PaiChung
22-Sapphire I
(To:anassNasser)

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?

slangley
23-Emerald II
(To:anassNasser)

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

Top Tags