Interrupt ticket submit

Respondida

5 Comentarios

  • Oleg

    Hey Thomas Busse,

    What have you tried so far (how does your code look)?

     

    Unofficial discord community of likeminded developers:
    https://discord.gg/EHVRdSVDc4

    0
  • Eric Nelson
    Zendesk Developer Advocacy
    Hey Thomas,

    You can see how to do this here.

    Hope this helps!
    0
  • Thomas Busse

    Hi Oleg and Eric,

    Thanks for responding. This is the code I’m using:

    client.on('ticket.save', async () => {
    client.context().then(create_modal); //this creates the modal
    returnPromise.reject(false);
    });
    This immediately fires the “his app has prevented the submission of the ticket...”-message - how do I prevent this and instead continue the saving process after the fields in the modal have been filled out and the submit button was pressed there?
    0
  • Thomas Busse

    I’m still stuck with this, if anyone has an idea or even sample code that would be much appreciated!

    0
  • Tipene Hughes
    Zendesk Developer Advocacy

    Hey Thomas Busse,

    Here's a link to an example app that you might find helpful:

    https://github.com/zendesk/demo_ticket_submission_and_save_events

    Feel free to reach out with any questions!

    Tipene

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk