Recent searches
No recent searches
How do I trigger the save event in an App
Posted Jan 10, 2022
I am writing a custom app and want to save the data afterward in the ticket.
How do I trigger the save event aka the "submit as <status>" event from within the app?
0
3
3 comments
Eric Nelson
You'd want to use the update ticket endpoint utilizing the client.request method offered by ZAF.
Hope this helps!
0
David Martins
hi Eric Nelson , how about if I made changes to the ticket, for example, using
In this case the ticket will be ready to submit the changes by the user, but I'd like to do it for the user.
Is this possible to do using a zaf client invoke (or any other method really), instead of making an update request via api?
Also, what happens if the user is writting a comment and we update the ticket via the API?
0
Tipene Hughes
Hey David,
The ZAF API doesn’t currently have methods or actions that facilitate submitting ticket changes. For example, while you can update the ticket status via ZAF ticket properties, this change still needs to be submitted in the UI. Your best bet will be using the client.request method as Eric mentioned above. Updates made via the API won’t effect any ongoing comments in the ticket editor, you’ll just see the specified changes reflected in the UI.
I hope this helps!
Tipene
0