andy.jewell at sysmicro
Jul 16, 2012, 8:05 AM
Post #2 of 3
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
T: 0844 9918804
E: andy.jewell [at] sysmicro