filter article on a generic agent job

Moderator: crythias

Post Reply
acortiana
Znuny newbie
Posts: 2
Joined: 06 Mar 2018, 11:33
Znuny Version: 6.0.5

filter article on a generic agent job

Post by acortiana »

Hello all,
I'm trying to configure a generic agent to set a dynamic field when an email with a specific destination (To) address is sent from the ticketing system.
So I configured a generic agent, triggered by the event article-->ArticleCreate and specifying the destination email address in the "To:" field of the generic agent, ticket filter area.
What I expected is that the generic agent, when triggered with the ArticleCreate event, will evaluate the newly created article to apply the filters and,
if filters are passed, execute the actions.
But this is not true: I tried to do a lot of tests but I cannot understand how the ticket filter--> To field is evaluated.
Sometimes it works, other times not, and I cannot understand the reason.

Do you have any suggestion? Maybe the "ticket filter--> To" field is not what I believed it to be?
Thanks
Alessandro
acortiana
Znuny newbie
Posts: 2
Joined: 06 Mar 2018, 11:33
Znuny Version: 6.0.5

Re: filter article on a generic agent job

Post by acortiana »

Maybe I replied to myself.
I think that the ticket filter searches **all** the articles of the ticket, not only the article that generated the event.
I was tricked by the help description of the "ticket filter --> To" field that says:
"Fulltext-search in article (e. g. "Mar*in" or "Baue*")."

maybe the right description can be
"Fulltext-search in all articles (e. g. "Mar*in" or "Baue*")."
or something like that.

Let me know what you think.
Alessandro
Post Reply