Re: [rt-users] Show recipient on ticket update - not working

2015-03-09 Thread Guadagnino Cristiano
Thank you Marcos, that was exactly the problem!

I completely forgot it, but now I see that I put a note in my customized  On 
correspondence notify Requestor and CC scrip, that reads:
TransactionBatch is needed otherwise messages will be sent out twice.

I do not remember it this is something that was needed in past RT versions or 
if it is still necessary now.
I'll do some tests in my non-production system.

Thank you
Cris




Da: Marcos Orallo m_ora...@yahoo.esmailto:m_ora...@yahoo.es
Inviato: Sat Mar 07 2015 10:05:37 GMT+0100 (CET)
A: Guadagnino Cristiano 
guadagnino.cristi...@creval.itmailto:guadagnino.cristi...@creval.it
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Oggetto: Re: [rt-users] Show recipient on ticket update - not working

Hi Cris,

Check if you have Scrip for On correspondence notify Requestor and CC 
enabled, in Normal stage (you can check this in Applies to section when editing 
the scrip).

If you have it in Batch, you won't be able to see and edit the predicted 
recipients when replying or commenting.

Cheers.

El 06/03/2015 13:13, Guadagnino Cristiano 
guadagnino.cristi...@creval.itmailto:guadagnino.cristi...@creval.it 
escribió:
Hi all,
I have both the 'Recipients' and the 'Scrips and Recipients' sections
empty when I resolve/reply to a ticket.
I mean, I see no recipients and no check boxes.
I have no warnings/errors in the log.

What can it be that is causing this behavior?

Thank you in advance.
Cris



Re: [rt-users] script to check out if max attachment size is reached

2015-03-09 Thread Loïc Cadoret

Alex,

Thank you for your answer. I forgot to tell you that we are running the 
3.8.11 version of RT (our dev team is working on an upgrade but it's 
going to take time and we cannot afford to wait for the migration...).

So do you think that a script would be possible ?

Thanks for your time,

Best regards

Loic Cadoret
IT Technician
Keyyo


Le 06/03/2015 18:10, Alex Vandiver a écrit :

On Fri, 06 Mar 2015 12:42:38 +0100 Loïc Cadoret lcado...@keyyo.com
wrote:

Greetings rt-users followers,

I would like to create a script that check out if the max attachment
size of a response is reached and if so, send an autoreply to the
requestor informing him that his documents are too heavy. Indeed,
customers send documents to our customer services but sometimes the
transaction is droped by the system because max attachment is reached
and neither  the customer service or the client is notified of it.

Starting in RT 4.2.7, RT records explicit transactions when attachments
are dropped or truncated due to hitting $MaxAttachmentSize.  While we
explicitly prevent such transactions from triggering scrips (to prevent
infinite loops), you can likely use them as the basis of your
notifications -- or, at least the signal to the RT users to notify
customers of the drop.

  - Alex