<div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>I've been looking through the documentation on Approvals and hoped to get a little user point of view and help. So far this isn't working. </div><div><br></div><div>I have a CCB queue and I've made a template named XYZ-CCB </div><div><div>===Create-Ticket: codereview</div><div>Subject: Code review for {$Tickets{'TOP'}->Subject}</div><div>Depended-On-By: {$Tickets{'TOP'}->Id}</div><div>Queue: ___Approvals</div><div>Type: approval</div><div>Content: Someone has created a ticket. you should review and approve it, so they can finish their work</div><div>ENDOFCONTENT</div><div><br></div><div> AdminCC: {</div><div> my $group_name = 'My-CCB';</div><div> my $groups = RT::Groups->new( $RT::SystemUser );</div><div><br></div><div> $groups->LimitToUserDefinedGroups();</div><div> $groups->Limit(</div><div> 'FIELD' => 'Name',</div><div> 'OPERATOR' => '=',</div><div> 'VALUE' => $group_name );</div><div> $groups->First->Id;</div><div>}</div></div><div><br></div><div><br></div><div>After that I made the script as per the docs - </div><div>Condition: On Create</div><div>Action: create tickets</div><div>Template: XYZ-CCB</div><div><br></div><div>I'm rather ignorant on this approvals module but as far as I can tell these appear to be correct however they are not. I'm working on getting educated on these workflows.</div><div><br></div><div>To add to it; I'm being asked for 2 levels of approvals. </div><div>So the group "My-Bosses" will approve it and then that of course goes to "My-Security" group. They're the final approval. </div><div>So to eat this elephant I'm trying to get the simple single group working. Has anyone else done multi-group approvals?</div><div><br></div><div>As always thank you. </div></div></div></div></div></div></div>
</div>