[rt-users] Running scrips
Kevin Falcone
falcone at bestpractical.com
Thu Mar 27 15:06:55 EDT 2014
On Thu, Mar 27, 2014 at 03:19:56PM +0000, Bryon Baker wrote:
> The code in the scrips that was updating the CF was in the Commit sub of the custom action. I
> move the code from that sub to the Prepare sub. I am not sure this is best practice for
> Request Tracker but all is working now.
For the list archives, this is a really bad idea.
Code that runs in the Prepare section of a User Defined Scrip Action
will potentially be triggered when clicking Reply or Comment on a
ticket, or when visiting the People page of a ticket. It depends on
what the Condition of this Scrip is, but it can be quite dangerous.
As another user suggested, Batch scrips are likely the solution you're
seeking.
-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140327/004d2760/attachment.sig>
More information about the rt-users
mailing list