Re: [Arsperl-users] REmedy problem
Brought to you by:
jeffmurphy
|
From: Carey M. B. <bla...@gm...> - 2005-06-08 16:04:58
|
Amen, Make sure your script always exits with status zero. exit(0); If you do not exit with a status of zero then the ARS server will throw an exception. print anything to STDOUT that you want to to end up in the field. A simple example would be: #! /usr/bin/perl print "The fields new value is this whole string"; exit(0); Also .. in the filter.. make sure you fully qualify the path to the perl script and maybe even perl itself. /path/to/myscript/junk.pl or maybe... /usr/bin/perl /path/to/myscript/junk.pl You can also run Filter logs and check the arerror.log for more details on what the ARS server is seeing from the script too. Hope that helps. --=20 Carey Matthew Black Remedy Skilled Professional (RSP) ARS =3D Action Request System(Remedy) Solution =3D People + Process + Tools Fast, Accurate, Cheap.... Pick two. Never ascribe to malice, that which can be explained by incompetence. http://www.fellowshipchurch.com On 6/8/05, Amen Asemota <aas...@ho...> wrote: > Hi, >=20 > I am trying to run a perl script in a filter but i keep getting ARERR [38= ] > Filter/escalation 'set field' process returned an error. >=20 > Iam trying to use the $PROCESS$ command to set a field . Please help.. >=20 > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you sho= tput > a projector? How fast can you ride your desk chair down the office luge t= rack? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users > |