<p>It's only possible with code in @Final.  <br></p>
<p>Ruslan from phone.</p>
<div class="gmail_quote">23.03.2012 20:06 пользователь "Gabriel L. Somlo" <<a href="mailto:gsomlo@gmail.com">gsomlo@gmail.com</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm trying to "script" (or fully specify) a workflow using an<br>
'initialdata'-like file that will be loaded into RT via<br>
'rt-setup-database --action insert'.<br>
<br>
Looks something like this:<br>
<br>
        @Queues = (<br>
            { Name        => 'MyQueue',<br>
              Description => 'Queue for my special workflow',<br>
            },<br>
        );<br>
<br>
        @Groups = (<br>
            { Name        => 'MyQueueAdmins',<br>
              Description => 'Admins for my special queue',<br>
              Domain      => 'UserDefined',<br>
            },<br>
            { Name        => 'MyQueueWorkers',<br>
              Description => 'Workers who will solve tickets from my queue',<br>
              Domain      => 'UserDefined',<br>
            },<br>
        );<br>
<br>
        @ACL = (<br>
            { GroupDomain => 'SystemInternal',<br>
              Queue       => 'MyQueue',<br>
              GroupType   => 'Everyone',<br>
              Right       => 'CreateTicket',<br>
            },<br>
<br>
            ...<br>
<br>
            { GroupDomain => 'UserDefined',<br>
             Queue       => 'MyQueue',<br>
              GroupId     => 'MyQueueAdmins',<br>
              Right       => 'CommentOnTicket',<br>
            },<br>
<br>
            ...<br>
        );<br>
<br>
Is there any way to specify that the MyQueueAdmins group should be<br>
an AdminCc watcher for MyQueue ? I.e., can I automate the following<br>
list of steps:<br>
<br>
        Configuration -> Queues -> MyQueue -> Watchers -><br>
<br>
        <Find MyQueueAdmin group><br>
        <select AdminCc role for MyQueueAdmin group><br>
        <Save Changes><br>
<br>
Also, can I specify existing privileged user names I'd like to be<br>
members of any of my groups using this method ?<br>
<br>
Thanks,<br>
--Gabriel<br>
</blockquote></div>