Filter management

Moderator: crythias

Locked
dileep0358
Znuny newbie
Posts: 62
Joined: 05 Oct 2011, 12:31
Znuny Version: 4.0.12
Real Name: Dileep Kumar SIngh
Company: MotherSonsumi InfoTech & Designs Ltd.

Filter management

Post by dileep0358 »

Dear Community,

I have 2 filter.
Filter1-> filter is applied on "Subject-ABCD" and "Body-dileep kumar singh" and i want to move this ticket in queue 1.
Filter2-> filter is applied only on "Subject-ABCD" and i want to move this ticket in queue 2.

but both the ticket is going on in queue 2.
my question is that i want to execute the Filter1 first then Filter2.
please explain.


Warm Regards,
Dileep Kumar Singh
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Filter management

Post by Wolfgangf »

Filters are processed in alphabetical ascending sorted order.
So just make sure filter1 is before Filter 2
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
dileep0358
Znuny newbie
Posts: 62
Joined: 05 Oct 2011, 12:31
Znuny Version: 4.0.12
Real Name: Dileep Kumar SIngh
Company: MotherSonsumi InfoTech & Designs Ltd.

Re: Filter management

Post by dileep0358 »

Dear sir,
where is this sorting methodology in otrs source code.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Filter management

Post by jojo »

you should not change the code...
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Filter management

Post by Wolfgangf »

you should not change the code...
absolutelly! And it's not necessary at all ;)

for example: I introduced naming conventions for filters; staring with a 3 diget code I can easily take care for the processing sequence
"000" is the first one, in my case a very general but import
"999" is the last one
inbetween there is lot of space to take care for a sequence
Hope this helps
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Locked