Custom Ticket Event Process Order

English! place to talk about development, programming and coding
Post Reply
dgshue
Znuny newbie
Posts: 17
Joined: 13 Jul 2011, 14:53
Znuny Version: 3.3.7

Custom Ticket Event Process Order

Post by dgshue »

I've written my second Ticket Event. It seems to be firing okay and working almost as expected. The event checks to see if the ticket exist in a certain queue, and if it is, set the responsible party. I have this firing on TicketCreate and TicketQueueUpdate. The problem I notice is that the when moving a ticket into the queue, the custom event picks up the queue id of the existing queue, not the one it's currently being moved in to. Same thing when creating a ticket, it doesn't recognize that we're creating a ticket in the queue in question and doesn't set the responsible. This isn't a coding problem from what I can tell, but more a problem with the order of events. Maybe I'm way off, I'm no developer. Any help appreciated!

TIA,
Daniel
renee
Znuny expert
Posts: 241
Joined: 06 Feb 2009, 11:15
Znuny Version: 3.0.x
Company: Perl-Services.de
Contact:

Re: Custom Ticket Event Process Order

Post by renee »

That's strange. Can you post your code?
Need a Perl/OTRS developer? You can contact me at info@perl-services.de
Post Reply