[Rt-commit] r6002 - in rtir/branches/2.1-EXPERIMENTAL: etc
ruz at bestpractical.com
ruz at bestpractical.com
Tue Sep 19 23:37:25 EDT 2006
Author: ruz
Date: Tue Sep 19 23:37:23 2006
New Revision: 6002
Modified:
rtir/branches/2.1-EXPERIMENTAL/ (props changed)
rtir/branches/2.1-EXPERIMENTAL/etc/initialdata
Log:
r1594 at cubic-pc: cubic | 2006-09-20 07:47:06 +0400
* add scrips to initialdata
Modified: rtir/branches/2.1-EXPERIMENTAL/etc/initialdata
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/etc/initialdata (original)
+++ rtir/branches/2.1-EXPERIMENTAL/etc/initialdata Tue Sep 19 23:37:23 2006
@@ -402,10 +402,14 @@
Description => 'Set IP custom field from message content' , # loc
ExecModule => 'RTIR_FindIP',
},
- { Name => 'RTIR Constituency', # loc
+ { Name => 'RTIR Set Constituency', # loc
Description => 'Set and cascade Constituency custom field' , # loc
ExecModule => 'RTIR_SetConstituency',
},
+ { Name => 'RTIR Set Constituency Group', # loc
+ Description => 'Set group responsible for constituency' , # loc
+ ExecModule => 'RTIR_SetConstituencyGroup',
+ },
);
@ScripConditions = (
@@ -445,6 +449,11 @@
ApplicableTransTypes => 'Any',
ExecModule => 'RTIR_RequireConstituencyChange',
},
+ { Name => 'RTIR Require Constituency Group Change', # loc
+ Description => 'A group responsible for constituency must be changed', # loc
+ ApplicableTransTypes => 'Any',
+ ExecModule => 'RTIR_RequireConstituencyGroupChange',
+ },
);
@Scrips = (
@@ -609,7 +618,12 @@
{ Description => "SetConstituency",
Queue => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
ScripCondition => 'RTIR Require Constituency Change',
- ScripAction => 'RTIR Constituency',
+ ScripAction => 'RTIR Set Constituency',
+ Template => 'Blank' },
+ { Description => "SetConstituencyGroup",
+ Queue => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
+ ScripCondition => 'RTIR Require Constituency Group Change',
+ ScripAction => 'RTIR Set Constituency Group',
Template => 'Blank' },
);
More information about the Rt-commit
mailing list