Búsquedas recientes


No hay búsquedas recientes

A noob question about merge hooks and invocations



Publicado 04 oct 2022

Heya,

I've been learning how to use ZAF and making some apps, but for some reason can't figure out if there are two specific features I currently require:

1) Does a merge hook exist? I need to do some checks when an agent tries to merge two, or more tickets. Something like:

client.on('ticket.merged')

Or it is not possible?

2) Is there a merge invocation in ZAF? Can't find it either.

For example:

client.invoke('ticket.merge(...)')

If not, then what's the way to implement customized merging functionality via APP?

Thanks!

 


0

2

2 comentarios

Thank you for your reply Greg, totally makes sense now. Already found a workaround, so the issue is resolved. :)

0


Hi there! We don't have any listeners/events for ticket merges, probably because of the nature of how ticket merges take place. Specifically, it's a background job that is initiated from the UI (or API) but doesn't make any changes to the current window until after the merge has already completed. So by the time we have anything observable available in ZAF, the merge has already happened. Since we can't unmerge, the long and short of it is there isn't a way to stop this behavior via a ZAF app.

Apologies for the news, but at the very least at least you have a better understanding why it isn't possible.

0


Iniciar sesión para dejar un comentario.

¿No encontró lo que buscaba?

Nueva publicación