Description:
I’m working on event callbacks for Ticket Create and Ticket Update in Freshservice. However, I’m facing issues with the Update Event,
- Ticket Creation:
When I create a ticket, theonTicketCreateCallback
executes successfully, but **after a few seconds, the Ticket Update event is also triggered automatically - **Ticket Update **:
- When I Update the ticket, the
onTicketUpdateCallback
executes twice instead of once for the same update.
Ticket Create
Ticket Update
Observations:
- The logs confirm that the update event is triggered right after the create event, even though I’m not updating the ticket explicitly.
- When an update is triggered manually, it logs twice, meaning the event is fired twice unexpectedly.
Questions:
- Is the create event causing an implicit update? If so, how can I prevent it from triggering the update event?
- Why is the update event firing twice when it’s triggered? Is there a way to make it execute only once per update?
Would appreciate any insights or solutions from the community!
Thanks in advance!