Intercept method - event.done() throws error

I’ve been working on an app for Freshdesk, the app got submitted and it’s in the testing phase. Which, if the user updates the status of the ticket, I intercept the flow and validate a few things. if validation fails il throw an alert else ill let continue with the flow.

To continue with the flow I’m using event.done() which is a fresh work method. Im getting some errors when that line executes. It didn’t happen so far, as a regression I got this error. the code I changed doesn’t have any relation with the code im getting error. Not sure why I need help on this.

1 Like

Can you please share with us the error you are getting while intercept method?

Thanks

here is he screenshot


t

instead of this can you try with event.helper.done() method
as described in the document also please look into this sample app for more reference

Thanks

2 Likes

Hi @Santhosh I was using event.helper.done() & event.helper.fail() only

can you share with us the console error if you have any and possible share with us the code snippet to debug further

Shall we connect if you have time?

@sstudio,
Kindly schedule an office hours call with us to proceed further

Thanks