Is there a way to get all jobs based on a job name thereby filtering out all the jobs i dont want to look at?
I am running this script from a Drop Down menu option.
I am currently using the following method.
my $WFsystem = new TeamSite::WFsystem();
my $workflows = $WFsystem->GetWorkflows();
foreach $job (
@$workflows){
my $JobName = $job->GetName(); chomp $JobName;
next unless ( $JobName eq 'InternalApproval' );
....
more code lines to deal with InternalApproval's
...
}
It just seems quite inefficent to me to go through all the other workflows to find the subset i wanted. I looked at iwqueryjobs but that only seems to filter on active workflows or ones owned by me.
Is there another way?
HazzieTS 5.5.2 on NT.