[rt-users] Problem whit approvals on resolve

Eduardo Jose Saavedra Cea edsaacea at gmail.com
Wed Jun 20 10:04:16 EDT 2007


I want to use approvals on resolve, but It`s doesn`t work for me. Only on
I follow the instructions in the ApprovalCreation manual. I create the
PO-Req queue and the scrip and template bellow:

===Create-Ticket: poreq
Subject: Approve purchase order for {$Tickets{'TOP'}->Subject}
Depended-On-By: TOP
Queue: ___Approvals
Type: approval
Owner: edsaacea
Content: Someone has created a purchase requisition.  Please review and
approve it, so they can spend some money.

Description: Create PO Req approval
Condition: On Create
Action: Create Tickets
Template: Create Approval
Stage: TransactionCreate

It`s work Ok. When the ticket is created, RT create another ticket in the
___Approvals queue whith the link "Depends on".
In addition, the ticket appear like "(pending approval)" until the user
edsaaved enter and resolved the approval. At this moment the original ticket
is resolved or rejecte
On the other hand, I tried to obtain the same behaviour on resolve changing
the scrip condition "On Create" to "On Resolve".
In this case, wthe ticket is created, RT create another ticket in the
___Approvals queue whith the link "Depends on" too, but the ticket doesn`t
appear like "(pending approval)" any more. Furthermore, the original ticket
always is resolved, even if I reject the approval.
I tried a lot of other things whitout success.
I understand the schema, but not the result.
I`m using rt-3.6.3 and suse 10.2.

Thanks you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070620/20da3878/attachment.htm>

More information about the rt-users mailing list