I am having a requirement of creating a service request along with children. In that scenario On ticket create event is hitting for individual service request within fraction of seconds. In this case with out excecution of code for parent service request,childs on ticket create event is hitting and resulting wrong output in app.
Can anyone help me to overcome this problem.
Could you share the relevant code snippet to understand the code flow? This will help understand how is the order of execution is maintained to help appropriately.
Please hide any sensitive information.
I want to follow up on the status of this topic
Anyone can tell the status of this issue, need to answer to client
This use-case has an issue that child tickets are not mapped yet when the product event for ticket creation executed. It is being looked at by the respective product team.
Meanwhile, there’s a workaround. The scheduled events can be used to execute your logic after 5 minutes. By then, the child tickets will be mapped and available for the parent ticket.
Thank you for workaround @Raviraj