[otrs-cvs] otrs/Kernel/Config GenericAgent.pm.examples, 1.25, 1.25.2.1
"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-serv6398/Kernel/Config
Modified Files:
Tag: rel-3_1
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.25
retrieving revision 1.25.2.1
diff -2 -u -d -r1.25 -r1.25.2.1
--- GenericAgent.pm.examples 7 Mar 2012 19:51:26 -0000 1.25
+++ GenericAgent.pm.examples 1 Feb 2013 17:19:27 -0000 1.25.2.1
@@ -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$
@@ -130,4 +130,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
@@ -142,6 +168,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