Hello listers!
I'm simultaneously diving into perl and arsperl for the first time and I'm
seeing a lot of possibilities at what one can do. I'm also running into a
bit of a headache in the following which, I'm sure, is a simple matter, but
I'd like some advice.
The Perl script is as follows:
#!/usr/local/bin/perl
use ARS;
($c = ars_Login("servername", "user", "password")) || die "ars_Login:
$ars_errstr";
if (!$c) {print("Could not connect to ARS ($ars_errstr)\n");exit(1);}
($r = ars_SetEntry($c, "Joetest", "000000000000002", 0, "536870914",
"Bob")) ||
die $ars_errstr;
This works fine from the server console and from a run process within an
active link. My question has to do with the set entry command. How can I
pass a variable from a Remedy field to field ID 536870914 on form Joetest
in this script instead of the hard-coded value of "Bob?" Again, I'm sure
this is a simple matter, but I'm new to this, and I'm very certain I'm
overlooking something. Appreciate the help!
Joe
Joseph Kasell
Senior Systems Engineer
Navy Federal Credit Union
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"