Email routing based on ticket type

English! place to talk about development, programming and coding
Post Reply
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Email routing based on ticket type

Post by flippertom »

Hello,

How to check for the ticket type in NewTicket.pm? We want to route email tickets into different types of queues based on ticket type set via filters.
I'm not able to get the code correct. Have checked various combinations but none of them are capturing the type properly.

Regards,
Tom.
root
Administrator
Posts: 3965
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Email routing based on ticket type

Post by root »

Hi,

Why no use PostMaster filter and / or event based GenericAgents in addition to your existing filters to set the queue?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
flippertom
Znuny advanced
Posts: 120
Joined: 16 Apr 2015, 08:42
Znuny Version: 3.2.16

Re: Email routing based on ticket type

Post by flippertom »

root wrote: 16 Apr 2019, 07:23 Hi,

Why no use PostMaster filter and / or event based GenericAgents in addition to your existing filters to set the queue?

- Roy
That file already has customization related to email ticket routing which checks for some customer parameters.
The ticket type checking has to be in addition to this.
root
Administrator
Posts: 3965
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Email routing based on ticket type

Post by root »

HI,

Understood. I'll move this post to the development board. Better to deal there with the API.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
edi
Znuny newbie
Posts: 17
Joined: 20 Nov 2018, 16:10
Znuny Version: OTRS 4
Real Name: Eduard
Location: Russia
Contact:

Re: Email routing based on ticket type

Post by edi »

Perhaps you should use the GenericsAgent.
Post Reply