Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-11 Thread Lander, Scott
-users-boun...@lists.bestpractical.com] On Behalf Of Jeff Blaine Sent: Monday, January 10, 2011 4:59 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Communicate a message to web UI from inside Scrip? Still no luck. Can anyone suggest how I might debug why this isn't working? I'm

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-11 Thread Jeff Blaine
] Communicate a message to web UI from inside Scrip? Still no luck. Can anyone suggest how I might debug why this isn't working? I'm begging at this point :) Here's the most complete picture I can paint for you right now: The following entire directory structure is set drwxr-xr-x /rt/local

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-11 Thread Jeff Blaine
On 1/11/2011 10:49 AM, Kevin Falcone wrote: On Mon, Jan 10, 2011 at 04:58:53PM -0500, Jeff Blaine wrote: Still no luck. Can anyone suggest how I might debug why this isn't working? I'm begging at this point :) Here's the most complete picture I can paint for you right now: You can

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-10 Thread Jeff Blaine
Still no luck. Can anyone suggest how I might debug why this isn't working? I'm begging at this point :) Here's the most complete picture I can paint for you right now: The following entire directory structure is set drwxr-xr-x /rt/local/ |-- html/ | Callbacks/

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-07 Thread Lander, Scott
, 2011 10:17 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Communicate a message to web UI from inside Scrip? Pulling my hair out here. Why is this callback not being tickled? I see nothing in my logs. RT 3.8.7 Mason cache cleared and server restarted a million times

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-07 Thread Jeff Blaine
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Jeff Blaine Sent: Thursday, January 06, 2011 10:17 PM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Communicate a message to web UI from inside Scrip? Pulling my hair out here. Why is this callback not being tickled? I see

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-07 Thread Raed El-Hames
...@lists.bestpractical.com] On Behalf Of Jeff Blaine Sent: 07 January 2011 03:17 To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Communicate a message to web UI from inside Scrip? Pulling my hair out here. Why is this callback not being tickled? I see nothing in my logs. RT 3.8.7

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-07 Thread Kevin Falcone
On Thu, Jan 06, 2011 at 10:16:55PM -0500, Jeff Blaine wrote: [r...@rtdev1 Display.html]# ls -l BeforeDisplay -rw-r--r-- 1 rt root 689 Jan 6 22:06 BeforeDisplay Can your web user read this file? -kevin pgpOGOMhOvFE0.pgp Description: PGP signature

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-07 Thread Jeff Blaine
On 1/7/2011 9:46 AM, Raed El-Hames wrote: Hi Jeff: Stupid question by where did you put your callback call?? I added % $m-callback(CallbackName = 'BeforeDisplay',TicketObj = \$TicketObj,Tickets = \$Tickets,Actions = \...@actions,ARGSRef = \%ARGS); Just above : % $m-callback(CallbackName

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-07 Thread Jeff Blaine
On 1/7/2011 9:56 AM, Kevin Falcone wrote: On Thu, Jan 06, 2011 at 10:16:55PM -0500, Jeff Blaine wrote: [r...@rtdev1 Display.html]# ls -l BeforeDisplay -rw-r--r-- 1 rt root 689 Jan 6 22:06 BeforeDisplay Can your web user read this file? Every directory from (and including) /rt/local

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-07 Thread Kenneth Crocker
Jeff, That's why I have my scrip put NOT SET CORRECTLY in CAPS as a value in the CF. The ticket display will show the CF and the CAPS will STAND OUT and make it easier for the user to see what's up. The Email serves as a reminder to set the CF. Therefore, the user gets reminded two different

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-06 Thread Kevin Falcone
On Thu, Jan 06, 2011 at 01:10:47PM -0500, Jeff Blaine wrote: Is there a way to queue one of these notices to the user from within my Scrip? ERROR: Cannot resolve without a value for BlahBlah. Unfortunately, no. -kevin pgp0auEXCHplx.pgp Description: PGP signature

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-06 Thread Ruslan Zakirov
More user friendly way to go is to prevent action right in the ui. Look at mandatory subject extention as example. Regards, Ruslan. From phone. 06.01.2011 21:11 пользователь Jeff Blaine jbla...@kickflop.net написал: As part of my current solution (ongoing) to the Don't allow resolve if a

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-06 Thread Jeff Blaine
On 1/6/2011 2:00 PM, Ruslan Zakirov wrote: More user friendly way to go is to prevent action right in the ui. Look at mandatory subject extention as example. I completely agree. Unfortunately it doesn't look very doable so far. Here's what I've got to say after 4 hours. Mandatory Subject

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-06 Thread Christian Loos
How about put a comment with your script in the ticket. The Ticket history would then look like this: * Status change from open to resolve * Comment: ERROR: Cannot resolve without a value for BlahBlah. * Status change from resolved to open I think this would make it clear for the user why they

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-06 Thread Jeff Blaine
On 1/6/2011 4:57 PM, Christian Loos wrote: How about put a comment with your script in the ticket. The Ticket history would then look like this: * Status change from open to resolve * Comment: ERROR: Cannot resolve without a value for BlahBlah. * Status change from resolved to open That's

Re: [rt-users] Communicate a message to web UI from inside Scrip?

2011-01-06 Thread Jeff Blaine
Pulling my hair out here. Why is this callback not being tickled? I see nothing in my logs. RT 3.8.7 Mason cache cleared and server restarted a million times. The call to the callback in Ticket/Display.html is: $m-callback( CallbackName = 'BeforeDisplay', TicketObj =