Scrips and Recipients section not picking up TransactionBatch scrips - 3.8.8

I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

I use TransactionBatch a lot of the time (I’m seem to remember their being good reasons for this) and so I can’t actually see who’s going to be sent mails.

Does anyone know if this is a known bug/issue or deliberate? I’ve not found anything on the wiki…

Thanks,

Justin

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

Justin,

I hate to ask, but did you make sure your configuration setting is for
Batch?

Kenn
LBNLOn Tue, Jul 13, 2010 at 8:03 AM, Justin Hayes justin.hayes@openbet.comwrote:

I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update
page doesn’t pick up scrips that are TransactionBatch. Only
TransactionCreate ones are shown.

I use TransactionBatch a lot of the time (I’m seem to remember their being
good reasons for this) and so I can’t actually see who’s going to be sent
mails.

Does anyone know if this is a known bug/issue or deliberate? I’ve not found
anything on the wiki…

Thanks,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Is that this one Kenn?

RT_Config.pm:Set($UseTransactionBatch, 1);

Cheers,

Justin

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.comOn 13 Jul 2010, at 16:52, Kenneth Crocker wrote:

Justin,

I hate to ask, but did you make sure your configuration setting is for Batch?

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:03 AM, Justin Hayes justin.hayes@openbet.com wrote:
I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

I use TransactionBatch a lot of the time (I’m seem to remember their being good reasons for this) and so I can’t actually see who’s going to be sent mails.

Does anyone know if this is a known bug/issue or deliberate? I’ve not found anything on the wiki…

Thanks,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Justin,

Yep. But I’d make the change in RT_SiteConfig.pm. I like to leave original
files/info alone in case I ever need to reference an original setting, etc.
RT will automatically override the setting from the RT_SiteConfig.pm file.

Kenn
LBNLOn Tue, Jul 13, 2010 at 8:59 AM, Justin Hayes justin.hayes@openbet.comwrote:

Is that this one Kenn?

RT_Config.pm:Set($UseTransactionBatch, 1);

Cheers,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

On 13 Jul 2010, at 16:52, Kenneth Crocker wrote:

Justin,

I hate to ask, but did you make sure your configuration setting is for
Batch?

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:03 AM, Justin Hayes justin.hayes@openbet.comwrote:

I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update
page doesn’t pick up scrips that are TransactionBatch. Only
TransactionCreate ones are shown.

I use TransactionBatch a lot of the time (I’m seem to remember their being
good reasons for this) and so I can’t actually see who’s going to be sent
mails.

Does anyone know if this is a known bug/issue or deliberate? I’ve not
found anything on the wiki…

Thanks,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I normally do - I think I must have changed this one early on in the process before I got used to altering RT_SiteConfig.pm.

So the problem still stands - I’m surprised no-one else has seen this before, unless not many people use Batch?

Justin

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.comOn 13 Jul 2010, at 19:36, Kenneth Crocker wrote:

Justin,

Yep. But I’d make the change in RT_SiteConfig.pm. I like to leave original files/info alone in case I ever need to reference an original setting, etc. RT will automatically override the setting from the RT_SiteConfig.pm file.

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:59 AM, Justin Hayes justin.hayes@openbet.com wrote:
Is that this one Kenn?

RT_Config.pm:Set($UseTransactionBatch, 1);

Cheers,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

On 13 Jul 2010, at 16:52, Kenneth Crocker wrote:

Justin,

I hate to ask, but did you make sure your configuration setting is for Batch?

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:03 AM, Justin Hayes justin.hayes@openbet.com wrote:
I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

I use TransactionBatch a lot of the time (I’m seem to remember their being good reasons for this) and so I can’t actually see who’s going to be sent mails.

Does anyone know if this is a known bug/issue or deliberate? I’ve not found anything on the wiki…

Thanks,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Hi Justin;

Ø I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

This is just pure guess on my part, but I think you don’t see the list of recipients with TransactionBatch because its not possible to determine the list until you hit submit, because its possible there will be scrips that depends on other scrips or actions, eg

scrip 1 on correspondence update custom field 1 if the word ‘hello’ is in the update,
scrip 2 on if custom field 1 changed email blah@blah

So you see its not possible to determine blah@blah will be emailed until the Transaction is created.

As I said, this is my guess, possibly some one from BP can confirm.

Roy
Ps:how did you get on with the performance issue you had?From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Justin Hayes
Sent: 15 July 2010 07:49
To: Kenneth Crocker
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrips and Recipients section not picking up TransactionBatch scrips - 3.8.8

I normally do - I think I must have changed this one early on in the process before I got used to altering RT_SiteConfig.pm.

So the problem still stands - I’m surprised no-one else has seen this before, unless not many people use Batch?

Justin

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.commailto:justin.hayes@openbet.com

That makes quite a bit of sense Roy. I’m only really interested in giving people some idea about who’s going to be getting standard automated responses, so I should probably look at switching some scrips back to TransactionCreate where possible.

As for my performance problems, hopefully my guy’s going to be trying some of the settings you sent me, as there are lots of innoDB configs in there that we’ve not set at all. Hopefully we’ll get somewhere.

Cheers,

Justin

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.comOn 15 Jul 2010, at 11:10, Raed El-Hames wrote:

Hi Justin;

Ø I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

This is just pure guess on my part, but I think you don’t see the list of recipients with TransactionBatch because its not possible to determine the list until you hit submit, because its possible there will be scrips that depends on other scrips or actions, eg

scrip 1 on correspondence update custom field 1 if the word ‘hello’ is in the update,
scrip 2 on if custom field 1 changed email blah@blah

So you see its not possible to determine blah@blah will be emailed until the Transaction is created.

As I said, this is my guess, possibly some one from BP can confirm.

Roy
Ps:how did you get on with the performance issue you had?

From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Justin Hayes
Sent: 15 July 2010 07:49
To: Kenneth Crocker
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrips and Recipients section not picking up TransactionBatch scrips - 3.8.8

I normally do - I think I must have changed this one early on in the process before I got used to altering RT_SiteConfig.pm.

So the problem still stands - I’m surprised no-one else has seen this before, unless not many people use Batch?

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

On 13 Jul 2010, at 19:36, Kenneth Crocker wrote:

Justin,

Yep. But I’d make the change in RT_SiteConfig.pm. I like to leave original files/info alone in case I ever need to reference an original setting, etc. RT will automatically override the setting from the RT_SiteConfig.pm file.

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:59 AM, Justin Hayes justin.hayes@openbet.com wrote:
Is that this one Kenn?

RT_Config.pm:Set($UseTransactionBatch, 1);

Cheers,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

On 13 Jul 2010, at 16:52, Kenneth Crocker wrote:

Justin,

I hate to ask, but did you make sure your configuration setting is for Batch?

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:03 AM, Justin Hayes justin.hayes@openbet.com wrote:
I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

I use TransactionBatch a lot of the time (I’m seem to remember their being good reasons for this) and so I can’t actually see who’s going to be sent mails.

Does anyone know if this is a known bug/issue or deliberate? I’ve not found anything on the wiki…

Thanks,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I addressed this problem in one RT installation by adding a TransactionCreate script on the same condition that did nothing (using template Blank). That way you’ll get the list of people that it will mail to, though not the actual template that it will use.

-Chuck
Chuck Boeheim [::] CIT [::] Systems Services
Sufficient unto the day are the meetings thereof

That makes quite a bit of sense Roy. I’m only really interested in giving people some idea about who’s going to be getting standard automated responses, so I should probably look at switching some scrips back to TransactionCreate where possible.

As for my performance problems, hopefully my guy’s going to be trying some of the settings you sent me, as there are lots of innoDB configs in there that we’ve not set at all. Hopefully we’ll get somewhere.

Cheers,

Justin

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.commailto:justin.hayes@openbet.com

Hi Justin;

I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

This is just pure guess on my part, but I think you don’t see the list of recipients with TransactionBatch because its not possible to determine the list until you hit submit, because its possible there will be scrips that depends on other scrips or actions, eg

scrip 1 on correspondence update custom field 1 if the word ‘hello’ is in the update,
scrip 2 on if custom field 1 changed email blah@blah

So you see its not possible to determine blah@blah will be emailed until the Transaction is created.

As I said, this is my guess, possibly some one from BP can confirm.

Roy
Ps:how did you get on with the performance issue you had?From: rt-users-bounces@lists.bestpractical.commailto:rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Justin Hayes
Sent: 15 July 2010 07:49
To: Kenneth Crocker
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrips and Recipients section not picking up TransactionBatch scrips - 3.8.8

I normally do - I think I must have changed this one early on in the process before I got used to altering RT_SiteConfig.pm.

So the problem still stands - I’m surprised no-one else has seen this before, unless not many people use Batch?

Justin

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.commailto:justin.hayes@openbet.com

Now that’s an idea…

Cheers Chuck!

Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.comOn 15 Jul 2010, at 15:02, Chuck Boeheim wrote:

I addressed this problem in one RT installation by adding a TransactionCreate script on the same condition that did nothing (using template Blank). That way you’ll get the list of people that it will mail to, though not the actual template that it will use.

-Chuck

Chuck Boeheim [::] CIT [::] Systems Services
Sufficient unto the day are the meetings thereof

On Jul 15, 2010, at 6:19 AM, Justin Hayes wrote:

That makes quite a bit of sense Roy. I’m only really interested in giving people some idea about who’s going to be getting standard automated responses, so I should probably look at switching some scrips back to TransactionCreate where possible.

As for my performance problems, hopefully my guy’s going to be trying some of the settings you sent me, as there are lots of innoDB configs in there that we’ve not set at all. Hopefully we’ll get somewhere.

Cheers,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

On 15 Jul 2010, at 11:10, Raed El-Hames wrote:

Hi Justin;

Ø I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

This is just pure guess on my part, but I think you don’t see the list of recipients with TransactionBatch because its not possible to determine the list until you hit submit, because its possible there will be scrips that depends on other scrips or actions, eg

scrip 1 on correspondence update custom field 1 if the word ‘hello’ is in the update,
scrip 2 on if custom field 1 changed email blah@blah

So you see its not possible to determine blah@blah will be emailed until the Transaction is created.

As I said, this is my guess, possibly some one from BP can confirm.

Roy
Ps:how did you get on with the performance issue you had?

From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Justin Hayes
Sent: 15 July 2010 07:49
To: Kenneth Crocker
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Scrips and Recipients section not picking up TransactionBatch scrips - 3.8.8

I normally do - I think I must have changed this one early on in the process before I got used to altering RT_SiteConfig.pm.

So the problem still stands - I’m surprised no-one else has seen this before, unless not many people use Batch?

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

On 13 Jul 2010, at 19:36, Kenneth Crocker wrote:

Justin,

Yep. But I’d make the change in RT_SiteConfig.pm. I like to leave original files/info alone in case I ever need to reference an original setting, etc. RT will automatically override the setting from the RT_SiteConfig.pm file.

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:59 AM, Justin Hayes justin.hayes@openbet.com wrote:
Is that this one Kenn?

RT_Config.pm:Set($UseTransactionBatch, 1);

Cheers,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

On 13 Jul 2010, at 16:52, Kenneth Crocker wrote:

Justin,

I hate to ask, but did you make sure your configuration setting is for Batch?

Kenn
LBNL

On Tue, Jul 13, 2010 at 8:03 AM, Justin Hayes justin.hayes@openbet.com wrote:
I’ve noticed that the ‘Scrips and Recipients’ section of the Ticket update page doesn’t pick up scrips that are TransactionBatch. Only TransactionCreate ones are shown.

I use TransactionBatch a lot of the time (I’m seem to remember their being good reasons for this) and so I can’t actually see who’s going to be sent mails.

Does anyone know if this is a known bug/issue or deliberate? I’ve not found anything on the wiki…

Thanks,

Justin


Justin Hayes
OpenBet Support Manager
justin.hayes@openbet.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

<ATT00001.c>

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com