Hi,
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 …
regards
Christoph
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 …
'Regex': The field value can be tested with a regular expression. It is important that 'Match' contains qr{}xms as a base condition. Between the braces the actual regular expression can be noted.
Nils,
seems that the documentation isn´t correct …
regards
Christoph
Von: otrs-b...@otrs.org [mailto:otrs-b...@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?
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
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).
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