[rt-users] RT Approvals

Todd Wade todd at bestpractical.com
Fri Sep 18 22:45:40 EDT 2015


On 9/11/15 9:47 AM, Kobus Bensch wrote:
> I have setup approvals following this doc:
> https://www.bestpractical.com/docs/rt/4.2.12/customizing/approvals.html.
>
> I would like to setup multiple approvers based on a value in a custom
> field. Is this possible and if so can anybody point me in the right
> direction or to a doc that I can read that will help me to achieve this?

Note this section of the documentation:

https://www.bestpractical.com/docs/rt/latest/customizing/approvals.html#Approvers

Where it says:

Requestors: {$Tickets{TOP}->RequestorAddresses}

The content in the brackets is perl code. And it also talks about 
different ways you can assign to people or notify different groups.

So combining that, you can put some code in for the AdminCcGroup: value 
(or whatever would fit your workflow) to programmatically determine who 
to send the approval to:

AdminCcGroup: { $Tickets{TOP}->FirstCustomFieldValue('ApprovalGroup') }

Regards,




More information about the rt-users mailing list