[rt-users] help with approvals
Jeremy Scholz
larry.26 at gmail.com
Thu May 17 09:50:55 EDT 2007
I am trying to create approvals based on a custom field. I have a field for
the severity of the issue: emergency, required, and planned. I would like
the logic to follow...
if CustomFieldValue = emergency
{
===Create-Ticket: approval1
Subject: Approve purchase order for {$Tickets{'TOP'}->Subject}
Depended-On-By: TOP
Queue: Approvals-PO
Type: approval
Owner: approveadmin #note this is so that notifications work properly
Content: Someone has created a purchase requisition. Please review and
approve it, so they can spend some money.
ENDOFCONTENT
===Create-Ticket: approval2
Subject: Approve purchase order for {$Tickets{'TOP'}->Subject}
Depended-On-By: TOP
Queue: Approvals-PO
Type: approval
Owner: approveadmin2 #note this is so that notifications work properly
Content: Someone has created a purchase requisition. Please review and
approve it, so they can spend some money.
ENDOFCONTENT
}
elseif CustomFieldValue = required
{
===Create-Ticket: approval1
Subject: Approve purchase order for {$Tickets{'TOP'}->Subject}
Depended-On-By: TOP
Queue: Approvals-PO
Type: approval
Owner: approveadmin #note this is so that notifications work properly
Content: Someone has created a purchase requisition. Please review and
approve it, so they can spend some money.
ENDOFCONTENT
}
I am new to RT and just don't know how or where the code for this show be.
Any help would be greatly appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070517/ce2b96d0/attachment.htm>
More information about the rt-users
mailing list