add 'Notify Other Recipients' action back, was deprecated but now used by default...
[freeside.git] / rt / etc / initialdata
index 96255b5..9085050 100644 (file)
       Description => 'Sends mail to explicitly listed Ccs and Bccs',      # loc
       ExecModule  => 'NotifyAsComment',
       Argument    => 'OtherRecipients' },
-# deprecated
-#    { Name        => 'Notify Other Recipients',                           # loc
-#      Description => 'Sends mail to explicitly listed Ccs and Bccs',      # loc
-#      ExecModule  => 'Notify',
-#      Argument    => 'OtherRecipients' },
+# deprecated?  now default create scrips use it in 4.2
+    { Name        => 'Notify Other Recipients',                           # loc
+      Description => 'Sends mail to explicitly listed Ccs and Bccs',      # loc
+      ExecModule  => 'Notify',
+      Argument    => 'OtherRecipients' },
 
     { Name        => 'User Defined',                                      # loc
       Description => 'Perform a user-defined action',                     # loc
     { 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' },
@@ -801,9 +798,14 @@ 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 Notify Requestors, Ccs, and Other Recipients',
        ScripCondition => 'On Correspond',
-       ScripAction    => 'Open Inactive Tickets',
+       ScripAction    => 'Notify Requestors, Ccs, and Other Recipients',
+       Template       => 'Correspondence', },
+
+    {  Description    => 'On Correspond Open Tickets',
+       ScripCondition => 'On Correspond',
+       ScripAction    => 'Open Tickets',
        Template       => 'Blank' },
     {  Description    => 'On Create Autoreply To Requestors',
        ScripCondition => 'On Create',
@@ -841,6 +843,10 @@ Hour:         { $SubscriptionObj->SubValue('Hour') }
        ScripCondition => 'On Forward Ticket',
        ScripAction    => 'Send Forward',
        Template       => 'Forward Ticket' },
+    {  Description    => 'On Correspond, cancel future resolve',
+       ScripCondition => 'On Correspond',
+       ScripAction    => 'Cancel Scheduled Resolve',
+       Template       => 'Blank' },
 );
 
 @ACL = (
@@ -947,7 +953,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 -*-