[otrs-cvs] otrs/Kernel/Config GenericAgent.pm.examples,1.28,1.29

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/Config
In directory lancelot:/tmp/cvs-serv5498/Kernel/Config

Modified Files:
	GenericAgent.pm.examples 
Log Message:
Fixed example with Dynamic Fields. added a new Dynamic Fields example. 

Author: cr

Index: GenericAgent.pm.examples
===================================================================
RCS file: /home/cvs/otrs/Kernel/Config/GenericAgent.pm.examples,v
retrieving revision 1.28
retrieving revision 1.29
diff -2 -u -d -r1.28 -r1.29
--- GenericAgent.pm.examples	20 Nov 2012 14:26:51 -0000	1.28
+++ GenericAgent.pm.examples	1 Feb 2013 17:17:52 -0000	1.29
@@ -1,5 +1,5 @@
 # --
 # Kernel/Config/GenericAgent.pm - config file of generic agent
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -131,4 +131,30 @@
     },
     # --
+    # [name of job] -> move specific tickets from abc to experts
+    # --
+    'move specific tickets from abc to experts' => {
+        # only move tickets where:
+        # Dynamic Field:
+        #   NameX is exactly 123
+        #   NameY is like admin (as admin, administrator or administrators
+        # Queue is abc
+
+        # get all tickets with these properties
+        Queue => 'abc',
+        DynamicField_NameX => {
+            Equals => '123',
+        },
+        DynamicField_NameY => {
+            Like => 'admin*',
+        },
+        Priorities => ['3 normal'],
+        # new ticket properties
+        New => {
+            Queue => 'experts',
+            Priority => '4 high',
+            DynamicField_ProductSkill => 'Expert required',
+        },
+    },
+    # --
     # [name of job] -> delete all tickets with subject 'VIRUS 32' in queue abc
     # (take care if you use From, To, Cc, Subject or Body because it takes
@@ -143,6 +169,8 @@
         Subject => '%VIRUS%',
 #        Body => '%installing%',
-#        Search_DynamicField_ProductSkill => 'Expert required',
-         # new ticket properties
+#        DynamicField_ProductSkill => {
+#            Equals => 'Expert required',
+#        },
+        # new ticket properties
         New => {
             # DELETE!
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.