Re: create transaction record

Matt Zagrabelny <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <CAOLfK3U_SLU=vFFO-SOSSE7vtbY=8oHZ1SJd-to8hvLaLhTkGw@mail.gmail.com>
On Mon, Oct 10, 2016 at 4:16 PM, Bryon Baker <[email protected]> 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.

What do you want the txn to do? Set a custom field, change an owner, etc?

> 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.

Generally you would probably want to have two scrips:

1. On Condition C, reply to (or notify) requestor using template T

2. On Condition C, perform your specific txn using a blank template.

But it is hard to give advice without a little more clarity in your question.

Thanks,

-m
---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.