[rt-users] translate custom lifecycle

Justin Killen jkillen at allamericanasphalt.com
Wed Mar 26 14:12:10 EDT 2014


You have to add transitions into RT_SiteConfig from/to each of your states, like this:


Set ( %Lifecycles, test => {
	initial => ['new'],
	active => ['open', 'on_hold', 'waiting'],
	...<snip>...
	transitions => {
		new => [ 'open', 'on_hold', 'waiting'],
		open => [ 'new', 'on_hold', 'waiting'],
		on_hold => [ 'new', 'waiting', 'open'],
		waiting => [ 'new', 'open', 'on_hold'],
	},

	...<snip>


-Justin

> -----Original Message-----
> From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-
> bounces at lists.bestpractical.com] On Behalf Of Albert Shih
> Sent: Wednesday, March 26, 2014 9:04 AM
> To: rt-users at lists.bestpractical.com
> Subject: [rt-users] translate custom lifecycle
> 
> Hi everybody.
> 
> I see the « standard lifecycle » has all status translated.
> 
> How can I do that with my custom lifecycle ?
> 
> Thanks.
> 
> Regards.
> 
> JAS
> --
> Albert SHIH
> DIO bâtiment 15
> Observatoire de Paris
> 5 Place Jules Janssen
> 92195 Meudon Cedex
> France
> Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
> xmpp: jas at obspm.fr
> Heure local/Local time:
> mer 26 mar 2014 17:03:09 CET
> --
> RT Training - Dallas May 20-21
> http://bestpractical.com/training



More information about the rt-users mailing list