[otrs] Regex in process tickets

Ohliger, Christoph Christoph.Ohliger at fh-rosenheim.de
Wed Nov 13 13:07:02 GMT 2013


Its more an regex issue then OTRS. My process or the regex always fail when
a dynamic field is NULL (no value). Right now I haven´t found the correct
regex to verify for empty values, I have checked \0 , \x00  ,  .{0}. 

 

Regards

Christoph

 

Von: otrs-bounces at otrs.org [mailto:otrs-bounces at otrs.org] Im Auftrag von
Ohliger, Christoph
Gesendet: Dienstag, 12. November 2013 13:10
An: 'User questions and discussions about OTRS.'
Betreff: Re: [otrs] Regex in process tickets

 

Yes, it works with this simple example. But I have some trouble with more
complex regex expression especially with AND/OR condition and I currently
assume that anything isn´t working correct within OTRS. I am currently doing
further tests (OTRS 3.2.12).

 

Von: otrs-bounces at otrs.org [mailto:otrs-bounces at otrs.org] Im Auftrag von
Nils Leideck (LX)
Gesendet: Dienstag, 12. November 2013 10:59
An: User questions and discussions about OTRS.
Betreff: Re: [otrs] Regex in process tickets

 

Did you already try the reg exp without the surroundings?

 

On 12.11.2013, at 08:51, Ohliger, Christoph
<Christoph.Ohliger at fh-rosenheim.de> wrote:

 

Nils,

 

seems that the documentation isn´t correct 


 

regards

Christoph

 

Von: otrs-bounces at otrs.org [mailto:otrs-bounces at otrs.org] Im Auftrag von
Nils Leideck (LX)
Gesendet: Montag, 11. November 2013 20:46
An: User questions and discussions about OTRS.
Betreff: Re: [otrs] Regex in process tickets

 

Did you try \bcat\b only?

 

On 11.11.2013, at 16:30, Ohliger, Christoph <
<mailto:Christoph.Ohliger at fh-rosenheim.de>
Christoph.Ohliger at fh-rosenheim.de> wrote:

 

has anyone tested the regex function in transition. When using
“qr{\bcat\b}xms” as the match condition I would assume that it matches when
the dynamic field has the value cat 


 

Cheers, Nils
-- 
 <http://webint.cryptonode.de/> http://webint.cryptonode.de / a Fractal
project
 

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage:  <http://otrs.org/> http://otrs.org/
Archive:  <http://lists.otrs.org/pipermail/otrs>
http://lists.otrs.org/pipermail/otrs
To unsubscribe:  <http://lists.otrs.org/cgi-bin/listinfo/otrs>
http://lists.otrs.org/cgi-bin/listinfo/otrs

 

Cheers, Nils

-- 
http://webint.cryptonode.de / a Fractal project

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.otrs.org/pipermail/otrs/attachments/20131113/4ac6ba1e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5588 bytes
Desc: not available
URL: <http://lists.otrs.org/pipermail/otrs/attachments/20131113/4ac6ba1e/attachment.bin>


More information about the otrs mailing list