Return values of create method of ticket class

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?

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@lboro.ac.uk
W: http://www.lboro.ac.uk/computing/
T: +44 (0) 1509 223719
F: +44 (0) 1509 223989

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

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.