Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

Status and Correspond Scrip

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


ajunpreet at gmail

Jul 16, 2012, 7:38 AM

Post #1 of 3 (327 views)
Permalink
Status and Correspond Scrip

Is there a way to initiate a scrip based on both a specific status change
and if the transaction type is correspond?


andy.jewell at sysmicro

Jul 16, 2012, 8:05 AM

Post #2 of 3 (315 views)
Permalink
Re: Status and Correspond Scrip [In reply to]

On 16/07/12 15:38, Ajunpreet Singh wrote:
> Is there a way to initiate a scrip based on both a specific status
> change and if the transaction type is correspond?
>
>
> --------
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
Yes - when you create the scrip, you specify the Condition - what
transaction type it changes *TO* and in the "Custom action preparation
code" you put in code to validate that the status change meets your
requirements, and if not, return 0. This will then allow or prevent the
main scrip body from running, depending on your requirements.

Hope that helps!

--
Andy D'Arcy Jewell

SysMicro Limited
Linux Support
T: 0844 9918804
M: 07961605631
E: andy.jewell [at] sysmicro
W: www.sysmicro.co.uk


ruz at bestpractical

Jul 16, 2012, 11:36 AM

Post #3 of 3 (303 views)
Permalink
Re: Status and Correspond Scrip [In reply to]

On Mon, Jul 16, 2012 at 5:38 PM, Ajunpreet Singh <ajunpreet [at] gmail> wrote:
> Is there a way to initiate a scrip based on both a specific status change
> and if the transaction type is correspond?

Correspond and status change are two different transactions. Only
scrips in transaction
batch stage can deal with such cases.
http://requesttracker.wikia.com/wiki/TransactionBatchStage



> --------
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>



--
Best regards, Ruslan.
--------
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.