Submit ticket via ZAF
Is it possible to submit a ticket via ZAF methods (e.g. invoke)?
The use case would be to programmatically submit a ticket after calling `client.invoke('macro', ...)`, so that 1) a macro is applied to the ticket and 2) the ticket is submitted.
The reason `client.request` to update ticket API won't work as a workaround is because, during the update API call, the `AgentMacroReference` ticket audit event won't be created. It is created only when a macro is applied, and the submit ticket button is clicked manually by an agent.
I've just done some testing on my end and it appears that the 'AgentMacroReference" ticket audit event is created when you add the macro_id property to the body of your request when creating the comment via the ticket API. Can you try that out on your end and let me know if you're seeing the same behavior?
Let me know if you have any questions!
Thanks Tipene, that works.
Por favor, entrar para comentar.