"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>"
}