Edit
				
					"when" : [
    {
        "blockType":"when",
        "blockOptions":{
            "method":{
                "name":"compareValues",
                "args":{
                    "item":"item",
                    "valueType":"valueType",
                    "comparator":"comparator",
                    "value":"value"
                }
            }
        },
        "fields":[
            {
                "name":"item",
                "type":"item",
                "value":"5de64f6a70c7be0541cc0853"
            },
            {
                "name": "valueType",
                "type": "string",
                "value": "bool"
            },

            {
                "name":"comparator",
                "type":"string",
                "value": "!="
            },
            {
                "name":"value",
                "type":"string",
                "value": true
            }
        ]
    }
]				
			

In a case of expression, the field should reference the existing expression by name:

				
					{
    "name":"value",
    "type":"expression",
    "value":"<expressionName>"
}				
			
Edit

Define a device group, define an item group, make a condition block to make a comparison of an hub.item.updated broadcast with the condition value.

The comparison is stateles s. It doesn’t have information about previous value of any item in the group.

Comparison type: stateless

				
					{
    "blockType":"when",
    "blockOptions":{
        "method":{
            "name":"compareValues",
            "args":{
                "deviceGroup":"deviceGroup",
                "itemGroup":"itemGroup",
                "comparator":"comparator",
                "valueType":"valueType",
                "value":"value"
            }
        }
    },
    "fields":[
        {
            "name":"deviceGroup",
            "type":"device_group",
            "value":"5de64f6a70c7be0541cc0853"
        },
        {
            "name":"itemGroup",
            "type":"item_group",
            "value":"5de64f6a70c7be0541cc0854"
        },
        {
            "name":"comparator",
            "type":"string",
            "value": ">"
        },
        {
            "name": "valueType",
            "type": "string",
            "value": "int"
        },
        {
            "name":"value",
            "type":"int",
            "value": 51
        }
    ]
}				
			
Available since: Group operations filtering is available since