Hello:<br><br>I want to use approvals on resolve, but It`s doesn`t work for me. Only on create.<br>I follow the instructions in the ApprovalCreation manual. I create the PO-Req queue and the scrip and template bellow:<br><br>
===Create-Ticket: poreq<br>Subject: Approve purchase order for {$Tickets{'TOP'}->Subject}<br>Depended-On-By: TOP<br>Queue: ___Approvals<br>Type: approval<br>Owner: edsaacea<br>Content: Someone has created a purchase requisition.  Please review and approve it, so they can spend some money.
<br>ENDOFCONTENT<br><br>Description: Create PO Req approval<br>Condition: On Create<br>Action: Create Tickets<br>Template: Create Approval<br>Stage: TransactionCreate<br><br>It`s work Ok. When the ticket is created, RT create another ticket in the ___Approvals queue whith the link "Depends on".
<br>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<br>d.<br>On the other hand, I tried to obtain the same behaviour on resolve changing the scrip condition "On Create" to "On Resolve".
<br>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.
<br>I tried a lot of other things whitout success.<br>I understand the schema, but not the result.<br>I`m using rt-3.6.3 and suse 10.2.<br><br>Thanks you very much.<br><br>