I'm not sure If I'm doing anything wrong, but I can't get this trigger to work.
I want to load a ticket and a person, and then send a reply template. First the ticket is loaded from the Enviroment variables, and secondly the person is loaded from the result values of 'Load a request'.
Problem is the person.id returns -1.
If I trace the macro-code I notice the following
1) The loaded ticket returns custId as -1 (test variable).
Is this because the trigger is called before the ticket is done saving? Or am I doing something wrong?
(Yes, the ticket has a contact).