Hi Chris,

Thanks for the pointer; I will update the scrip accordingly.

Thanks,
Jon

-----------------------------------------------------

Jon Witts
Director of Digital Strategy
Queen Margaret's School
Escrick Park
York YO19 6EU

Telephone: 01904 727600
Fax: 01904 728150

Website: www.queenmargarets.com 

-----Original Message-----
From: Christian Loos [mailto:cl...@netcologne.de] 
Sent: 22 May 2015 13:38
To: Jon Witts
Subject: Re: Help with Scrip for child / dependent tickets

Hi,

> next unless( $l->BaseObj->Status =~ 
> /^(?:new|open|stalled|pending|planning|holiday)$/ );
Actually this line uses a hard coded list of statuses.
Once you change the lifecycle for a queue, this maybe won't work any more. So 
it is better to use the IsInactiveStatus or IsActiveStatus methods on a queue 
object, which respects lifecycle changes.

Chris

Reply via email to