[Rt-commit] r6127 - in rtir/branches/2.1-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Fri Sep 29 18:39:11 EDT 2006
Author: ruz
Date: Fri Sep 29 18:39:11 2006
New Revision: 6127
Modified:
rtir/branches/2.1-EXPERIMENTAL/ (props changed)
rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/content
Log:
r1671 at cubic-pc: cubic | 2006-09-30 02:48:29 +0400
* sync upgrade/2.1.0/content with initial data
Modified: rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/content
==============================================================================
--- rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/content (original)
+++ rtir/branches/2.1-EXPERIMENTAL/etc/upgrade/2.1.0/content Fri Sep 29 18:39:11 2006
@@ -1,4 +1,3 @@
-# XXX: Add constituency scrips/conditions/actions
sub get_cf {
my $name = shift;
@@ -74,3 +73,54 @@
},
);
+ at ScripActions = (
+ { Name => 'RTIR parse message for IPs', # loc
+ Description => 'Set IP custom field from message content' , # loc
+ ExecModule => 'RTIR_FindIP',
+ },
+ { 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',
+ },
+);
+
+ at ScripConditions = (
+ { Name => 'RTIR Require Constituency Change', # loc
+ Description => 'The constituency must be changed', # loc
+ 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',
+ },
+
+);
+ at Scrips = (
+ { Description => "SetIPFromContent",
+ Queue => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
+ ScripCondition => 'On Correspond',
+ ScripAction => 'RTIR parse message for IPs',
+ Template => 'Blank' },
+ { Description => "SetIPFromContent",
+ Queue => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
+ ScripCondition => 'On Create',
+ ScripAction => 'RTIR parse message for IPs',
+ Template => 'Blank' },
+
+ { Description => "SetConstituency",
+ Queue => ['Incidents', 'Incident Reports', 'Investigations', 'Blocks'],
+ ScripCondition => 'RTIR Require Constituency Change',
+ 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