Unable to set multiselect values from Postmaster filter

Moderator: crythias

Post Reply
DavidB
Znuny newbie
Posts: 18
Joined: 11 Sep 2017, 21:42
Znuny Version: 5.0.23
Real Name: David Bénicy
Company: Université de Sherbrooke

Unable to set multiselect values from Postmaster filter

Post by DavidB »

We are attempting to set values from a postmaster filter for a multiselect dynamic field. The only time we are able to set the value is when we only have 1 value and if it’s the key value that is received.
The regex is grabbing the proper string in the conditions and is being set in the header with [***].

First thing, it is kind of useless if we can only set the dynamic field value by key and not by values. Is there any way to set the multiselect values by … values…?
Second thing, a multiselect usually have multiple values, is there any way to set multiple values from a postmaster filter?

Thanks!
reneeb
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: Unable to set multiselect values from Postmaster filter

Post by reneeb »

I would do that with a Postmaster filter written in Perl...
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
Post Reply