replace "open inactive" action with just "open", #71078
[freeside.git] / rt / etc / initialdata
index 9b2af37..825e650 100644 (file)
     { Name        => 'Open Tickets',                                      # loc
       Description => 'Open tickets on correspondence',                    # loc
       ExecModule  => 'AutoOpen' },
-    { Name        => 'Open Inactive Tickets',                             # loc
-      Description => 'Open inactive tickets',                             # loc
-      ExecModule  => 'AutoOpenInactive' },
     { Name        => 'Extract Subject Tag',                               # loc
       Description => 'Extract tags from a Transaction\'s subject and add them to the Ticket\'s subject.', # loc
       ExecModule  => 'ExtractSubjectTag' },
     },
 
     #freeside
-    {  Name                 => 'On Custom Field Transaction',
-       Description          => 'When a custom field is changed',
-       ExecModule           => 'CustomFieldTransaction',
-       ApplicableTransTypes => 'Any',
-    },
-    {  Name                 => 'On Custom Field Change',
-       Description          => 'When a custom field is changed to some value',
-       ExecModule           => 'CustomFieldChange',
-       ApplicableTransTypes => 'Any',
-    },
+    #{  Name                 => 'On Custom Field Transaction',
+    #   Description          => 'When a custom field is changed',
+    #   ExecModule           => 'CustomFieldTransaction',
+    #   ApplicableTransTypes => 'Any',
+    #},
+    #{  Name                 => 'On Custom Field Change',
+    #   Description          => 'When a custom field is changed to some value',
+    #   ExecModule           => 'CustomFieldChange',
+    #   ApplicableTransTypes => 'Any',
+    #},
 
 );
 
@@ -801,9 +798,9 @@ Hour:         { $SubscriptionObj->SubValue('Hour') }
 #       ScripCondition => 'On Correspond',
 #       ScripAction    => 'Notify Requestors And Ccs',
 #       Template       => 'Correspondence in HTML' },
-    {  Description    => 'On Correspond Open Inactive Tickets',
+    {  Description    => 'On Correspond Open Tickets',
        ScripCondition => 'On Correspond',
-       ScripAction    => 'Open Inactive Tickets',
+       ScripAction    => 'Open Tickets',
        Template       => 'Blank' },
     {  Description    => 'On Create Autoreply To Requestors',
        ScripCondition => 'On Create',
@@ -947,7 +944,17 @@ Hour:         { $SubscriptionObj->SubValue('Hour') }
   'on correspond' => {
     'notify requestors and ccs' => { 'correspondence' => 1 },
     'notify other recipients'   => { 'correspondence' => 1 },
-  }
+    # RT 4.2
+    # superseded by "notify owner and adminccs"
+    'notify adminccs'           => { 'admin correspondence' => 1 },
+    # the new way, but doesn't work right vs. "open tickets"
+    'open inactive tickets'              => { 'blank' => 1 },
+  },
+  'on create' => {
+    # RT 4.2
+    # superseded by "notify owner and adminccs"
+    'notify adminccs'           => { 'transaction' => 1 },
+  },
 );
 
 # -*- perl -*-