Thank you for your answer but unfortunately it doesn’t help (we’re not talking about comments). Like alexdev50 I’d like to assign a ticket once it is created to agents depending on keywords within the ticket body.
However, ‘Ticket.Body’ always results in an empty string and never contains the text of the ticket.
So it’s either a bug or ‘ticket.Body’ does not mean the text of a ticket.
Hi,
I have a similar trigger, and Oleg is correct, you want to use the comment body fields, even though that seems counter intuitive.
Here's what I have setup that is working