I have created a serverless custom app, which work on OnTicketUpdate handler.
It’s working :
Filters the ticket based on some parameters
Logs some information
Calls a 3rd party API.
Logs the success and error
I have tested it on local, it was working fine. But when deployed to prod. It was working as it was supposed to be but for some cases, the execution of the custom app is not getting complete. What I mean is, that the code is going till 2nd step of logging the request but after that, it doesn’t even print anything. And for some cases which are valid, the code doesn’t even get triggered. Can you please help understand the issue here and how can it be resolved?
Also, it is possible that logs for the custom app might also miss?
Can you check your manifest.json file to ensure everything is properly configured? Also, can you add try-catch blocks to catch any errors that might be preventing the code from executing?
@Kithiyon Thanks for the reply. I have my manifest.json correctly figured, since it is running for other cases. Only few other cases are getting missed. Also I have used try catch in my code, but nothing is getting printed.
@ThomasH Thanks for your insights too. While custom field issues shouldn’t be there, since we don’t want those updates anyways. But I will look into this timeout issue.