Does anyone know how to filter a listener for document versions in Fusion?
If I try to get the project information such as document:project:categoryID I get the error:
Function 'getWatchQS' finished with error! fields is not iterable
So I'm having to watch ALL document versions in the system which seems bad.
Any ideas?
Rob
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
To read it back, you're saying that you want to have a webhook triggered for document versions, but only if the document is on a project where a specific custom form is attached?
If so, then I would add a custom form to the document, and on that form have a calculated field that maps in your filter criteria (so project:categoryID if that's what you want), and then make a document webhook that triggers on the currentVersionID changing, and add that calculated field as part of your webhook filter.
Views
Replies
Total Likes
Hello again @ChrisStephens
This is what I was thinking, but the users that upload the documents aren't going to know how to add the custom form to the document.
I don't know of a way to automatically attach a custom form to all documents. Is that possible?
Rob
Views
Replies
Total Likes
I think the only way you could have the documented added automatically would be to use another Fusion scenario that would just attach the form to every document, which isn't ideal, but I can't think of another way. If someone else has one, I'm happy to be proven wrong on this one.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies