So, I'm playing around using the HTTP module to create webhooks which do things I can't do by using the Watch Events module.
I was able to make a filter with an OR statement, which is wonderful. Ultimately though, I want to have a webhook where the newState of a custom form field is different than oldState thereof.
I used this, got a 201, but it doesn't seem to work:
{
"objCode": "DOCU",
"eventType": "UPDATE",
"url": "https://hook.app.workfrontfusion.com/liw3gfiixg6aepx3xr2371ugqkavf48l",
"filters": [
{
"fieldName": "DE:What version of legal and compliance review is this?",
"fieldValue": "",
"comparison": "changed"
}
]
}
Please tell me there's something stupid I'm missing here. There has to be.
Views
Replies
Total Likes
So, I adjusted my code and now I have a webhook that works...sorta. The problem is that it triggers whenever a document is updated at all--not when this one field is altered. Here's the code.
{
"objCode": "DOCU",
"eventType": "UPDATE",
"url": "https://hook.app.workfrontfusion.com/liw3gfiixg6aepx3xr2371ugqkavf48l",
"filters":
[
{
"fieldName": "parameterValues",
"fieldValue": "DE:What version of legal and compliance review is this?",
"comparison": "changed"
}
]
}
I'm guessing it's running when a document is changed and if this one custom form field is on said document?
Views
Replies
Total Likes
@JohnJOSullivan just checking in! Were you able to get this resolved? If one of the replies above helped—whether it completely solved the issue or simply pointed you in the right direction—marking it as accepted can make it much easier for others with the same question to find a solution. And if you found a different way to fix it, sharing your approach would be a great contribution to the community. Your follow-up not only helps close the loop but also ensures others benefit from your experience. Thanks so much for being part of the conversation!
Views
Replies
Total Likes
Views
Likes
Replies