I would like to trigger a mail based on some condition by “onTicketUpdate” event but this event didn’t triggered for few minutes after app is installed. If it’s triggered once it will working properly. This behavior of my app is normal or not?
Note:
I uploaded my app into my freshdesk account as a custom app.
I would like to trigger a mail based on some condition by “onTicketUpdate” event but this event didn’t triggered for few minutes after app is installed.
The onTicketUpdate would be triggered as and when any ticket on your Freshdesk instance is updated. The only correlation with app installation is that it will start to listen to these events and triggered the serverless app.
If it’s triggered once it will working properly. This behavior of my app is normal or not?
Yes, app functionality will work as I mentioned above and this is the expected behavior.
I triggering a mail inside “onTicketUpdate” event callback based on rules these rules are stored by user during app installation if i have many rules the onTicketUpdate event is not triggered for few minutes after app is installed.once the onTicketUpdate event is triggered after it’s triggering properly
I hope you have checked the conditions in which the onTicketUpdate event is triggered. They can be found here - Product Events. If these conditions aren’t met, the event won’t be generated and the app won’t be triggered.