Re: [rt-users] list of scrips in a queue

2016-02-14 Thread Asif Iqbal
On Sat, Feb 13, 2016 at 5:08 PM, Asif Iqbal wrote: > Hi All, > > How do I get the list of scrips of a queue? > > Here is my snippet.. > > my $queue = RT::Queue->new($CurrentUser); > my $scrips = RT::Scrips->new($CurrentUser); > my ($status, $msg) = $queue->Load( 'help' ); > my ($status, $msg) = $

[rt-users] list of scrips in a queue

2016-02-13 Thread Asif Iqbal
Hi All, How do I get the list of scrips of a queue? Here is my snippet.. my $queue = RT::Queue->new($CurrentUser); my $scrips = RT::Scrips->new($CurrentUser); my ($status, $msg) = $queue->Load( 'help' ); my ($status, $msg) = $scrips->LimitToQueue( $queue->id ); my @queuescrips = $scrips->Prepare