On 10 Oct 2016, at 17:16, Bryon Baker wrote:

Hello List

I have created a custom scrip the will respond to an email via a web service call. I would like to create a transaction with the return message.

Can someone give me a little code snippet or some direction on how to create the transaction? With our creating or updating a custom field.

I have read about the _RecoredTransaction but I think this may be the wrong route and I have not found any example code to help me out.

Have you read https://docs.bestpractical.com/rt/4.4.1/RT/Transaction.html#Create ?

Probably more useful: https://docs.bestpractical.com/rt/4.4.1/RT/Ticket.html#Comment

The simplest way to call it, given a RT::Ticket object named ticket:

$ticket->Comment( Content => "I'm A Little Teapot" );

And now you have a new comment transaction.
---------
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Reply via email to