[rt-users] Approvals not working

Michael James MJames at stonebridgebank.com
Wed Jul 28 16:57:00 EDT 2010


It worked on 3.4.6, which is the version we were using before 3.8.8.

>>> "Foggi, Nicola" <NFOGGI at depaul.edu> 7/28/2010 4:48 PM >>>


I was never able to get a queue working with approvals other than the default __Approvals queue, if you use that does it work?

Nicola

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com on behalf of Michael James
Sent: Wed 7/28/2010 3:38 PM
To: RT Users <rt-users at lists.bestpractical.com 
Subject: [rt-users] Approvals not working
 
Hi, I used example code on the wiki to create a PO-Request type approval in RT3.8.8 http://wiki.bestpractical.com/view/ApprovalCreation The process creates new ticket(s) but isn't quite right yet.

I created 2 queues: ChangeRequest and ChangeApproval and both are enabled.

ChangeRequest queue has 1 scrip:

On Create, Create Tickets with template CreateApproval, stage TransactionCreate. with no User defined conditions.

The CreateApproval template is pretty much cut-n-paste from the wiki:

===Create-Ticket: poreq
Subject: Approve Change Request for {$Tickets{'TOP'}->Subject}
Depended-On-By: TOP
Queue: ChangeApproval
Type: approval
Owner: username-of-owner   #note this is so that notifications work properly
Content: Someone has created a Change Request.  Please review.
ENDOFCONTENT

For the ChangeApproval queue, I copied/pasted all of the scrips and templates from the default __Approvals queue. 

When I create a new ticket in the ChangeRequest queue, a 2nd ticket is created and notifications are sent to the watchers that a new ticket is awaiting approval. However, the approvals don't show up in My Approvals. Nor do they show up in the ChangeApproval queue when I search for them. The tickets/approvals exist, I can see them in the Tickets table with type=approval.

I can't sort out what I've done wrong. Any ideas?

Mike


The information in this message may be proprietary and/or confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify Stonebridge Bank immediately by replying to this message and deleting it from your computer.

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com 



The information in this message may be proprietary and/or confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify Stonebridge Bank immediately by replying to this message and deleting it from your computer.



More information about the rt-users mailing list