Hello all, my scenario feeds ticket comments to an iterator that has a filter to get only the Public comments. I now want to only get the comments created by agents or admins, not end-users. The iterator returns the author_id but not the author’s role. I’ve added an action to feed the author_id into a ZD api call /api/v2/users/{author_id}. My idea is to then filter on the role != end-user, then out to an aggregator to close the loop.
Is this the right approach or is there an easier way?
This looks like the right approach and how I would do it.
It sucks that when you list comments it doesn’t return the author’s role. I checked the API also and it doesn’t.