GenericAgent: Select tickets which are no process tickets
Moderator: crythias
GenericAgent: Select tickets which are no process tickets
I want to set up a GenericAgent job which selects all tickets that are no process tickets. So I wanted to search for tickets where Search_DynamicField_ProcessManagementProcessID="". But how can I do this?
			
			
									
						
										
						- 
				christianclavet
 - Znuny newbie
 - Posts: 75
 - Joined: 27 Aug 2018, 13:50
 - Znuny Version: Community
 - Real Name: Christian Clavet
 - Company: Tact Group
 
Re: GenericAgent: Select tickets which are no process tickets
Hi, in the generic agent config, in the select ticket section, I would write "?!Process" on the "process" field, as all processes ticket start with this id.
Not tested this, but the ?! is a negate expression in perl.
			
			
									
						
							Not tested this, but the ?! is a negate expression in perl.
----------------------------------------------
OTRS Community 6.0.11
Debian 9.0
MariaDB
			
						OTRS Community 6.0.11
Debian 9.0
MariaDB
- 
				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: GenericAgent: Select tickets which are no process tickets
The filter in GenericAgent does not use Perl regexes... So this won't work...
			
			
									
						
							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
			
						Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de