Hi,
I am trying to create a trigger to automatically assign a ticket to the last agent who talked to the customer, when the customer answers a close ticket.
So far the only solution I found is to make a trigger for each agent (if the ticket is closed and the agent is *** then assign to that agent), but would really like to make it work in only one trigger.
Looking forward to hear your solutions on this!
Best,
Andrea
By default, you can not assign a follow-up ticket to the assignee of the ticket at the moment they closed. As a workaround, create a workflow through the use of triggers and tags for each agent to achieve this goal. You can achieve that by following the instructions in this article.