<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=ReOpenOnCorresWithExcep</id>
	<title>ReOpenOnCorresWithExcep - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=ReOpenOnCorresWithExcep"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=ReOpenOnCorresWithExcep&amp;action=history"/>
	<updated>2026-08-24T10:26:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=ReOpenOnCorresWithExcep&amp;diff=3073&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=ReOpenOnCorresWithExcep&amp;diff=3073&amp;oldid=prev"/>
		<updated>2016-04-06T20:35:27Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a quick Scrip that will reopen a ticket upon correspondence being added to said ticket.&lt;br /&gt;
&lt;br /&gt;
Description: Auto reopen a ticket upon correspondence Condition: User Defined Action: Open Tickets Template: Global Template: blank Stage: [[TransactionCreate]]&lt;br /&gt;
&lt;br /&gt;
Custom Condition:&lt;br /&gt;
&lt;br /&gt;
my $trans = $self-&amp;amp;gt;[[TransactionObj]]; my $ticket = $self-&amp;amp;gt;[[TicketObj]];&lt;br /&gt;
&lt;br /&gt;
return 0 unless $trans-&amp;amp;gt;Type eq &amp;quot;Correspond&amp;quot;; return 0 if $ticket-&amp;amp;gt;Queue == 12; return 1;&lt;br /&gt;
&lt;br /&gt;
Leave &amp;quot;Custom action preparation code&amp;quot; and &amp;quot;Custom action cleanup code&amp;quot; blank.&lt;br /&gt;
&lt;br /&gt;
Note: The queue that I did not want this action to take place on, was number 12. Change this number to reflect the queue that you would like to filter on. You could easily add more queues or other criteria to filter on.&lt;br /&gt;
&lt;br /&gt;
Good Luck!&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>