DynamicField operators

Moderator: crythias

Locked
Letter
Znuny newbie
Posts: 13
Joined: 29 May 2013, 10:25
Znuny Version: 3.2.7

DynamicField operators

Post by Letter »

Hello,

from reading the forum I've seen that multiple operators are available for the GenericAgent.pm DynamicFields comparison.

However, I use to have huge lists in the older version (FreetextFieldX => ['a','b','c',...])
Now, with the Equals operator, I only seem to be able to put one value (DynamicField_X => {Equals=> 'a',},)

Is there a way to add multiple values to the test or do I have to make one block per DynamicField combination (which can be pretty big in the end)?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: DynamicField operators

Post by crythias »

I didn't try it, but

Code: Select all

DynamicField_X => {Equals=> ['a','b'],}
Seems possible?
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
Letter
Znuny newbie
Posts: 13
Joined: 29 May 2013, 10:25
Znuny Version: 3.2.7

Re: DynamicField operators

Post by Letter »

I feel stupid.

I had tried it but test had failed for another reason.

It does the trick. Thanks.
Locked