Hello. I have another event subscription api question. I have a checkbox custom field that I want to keep an eye out for. I want to act on this field when it's changed on the project whether it gets ticked or unticked.
I thought that I should filter it by newState and oldState but I can't create the subscription. If I just create by newstate, it doesn't trigger when someone unticks the checkbox. I have also tried to create two subscriptions, one with the oldState and one with the newState and it's giving me an error when setting the second subscription. Any directions on this one?
{
"objCode": "PROJ",
"eventType": "UPDATE",
"url": "xxxx",
"filters": [
{
"state": "newState",
"fieldName": "parameterValues",
"fieldValue": {
"DE:customfield": "1"
}
},
{
"state": "oldState",
"fieldName": "parameterValues",
"fieldValue": {
"DE:customfield": "1"
}
}
]
}