Hi, you can assign multiple values to match in X-Header.
I report my case:
The system receives an email with the Body formatted as follows
----------------------------------
Customer: test.ticket
Company: KOS Servizi
Office: Office1
Problem area: Printer System
Scope of the problem: Multifunction
Title: TEST TITLE
Description: TEST DESCRIPTION
----------------------------
I defined the following filter condition
-Filter Condition->Header 1: Body
-Filter Condition->Value 1: Problem area: (.*?)\n+Scope of the problem: (.*?)\n
returning 2 Match groups:
1. Printer System
2. Multifunction
I would like to assign the concat of these 2 values to X-OTRS Service (after the filter X-OTRS Service=Printer SystemMultifunction).
In brief it is possible to extract more match pattern with [***] like [*1*] .. [*2*]
Thanks
Postmaster Filter - Multi Match
Moderator: crythias
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Postmaster Filter - Multi Match
That's what http://opar.perl-services.de/dist/Enhan ... lter-4.0.1 is for...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Postmaster Filter - Multi Match
but the scope isn't the service ... the service is the printer.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask