[Rt-devel] Return values of create method of ticket class

Jesse Vincent jesse at bestpractical.com
Tue Jan 24 08:42:26 EST 2006


Please don't CC both rt-users and rt-devel on one post. Most people on
rt-devel are on both.



On Tue, Jan 24, 2006 at 01:38:56PM +0000, Stewart Tranter wrote:
> Hello Everyone,
> 
> In my script which creates a ticket, I want to display an error page if 
> the Create method of the Ticket class returns an error.  According to 
> the API Docs, Create returns "TICKETID, Transaction Object, Error 
> Message".  For the error message I get "Ticket 57 created in queue 
> 'ISSS'" returned, which I don't consider to be an error.  Are the docs 
> wrong, or is there a bug?

"status message" might be better phrasing. Look at the id of the ticket
to see if it succeeded.
> 
> I am running RT 3.5.5 with L.Wang's Custom Field patch.
> 
> Kind regards,
> 
> Stewart
> ------------------------------------------------
> Stewart Tranter
> Computing Services
> Loughborough University
> 
> E:  s.g.tranter at lboro.ac.uk
> W:  http://www.lboro.ac.uk/computing/
> T:  +44 (0) 1509 223719
> F:  +44 (0) 1509 223989
> ------------------------------------------------
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
> 

-- 


More information about the Rt-devel mailing list