Thread: [Arsperl-users] HELP! How to make a Remedy incident management ticket - why does it fail?
Brought to you by:
jeffmurphy
|
From: Van De K. D. - P. <DVa...@ch...> - 2007-07-17 19:16:00
|
Oh ARSPerl gurus,
I humbly beseech your collective wisdom. I am but a neophyte.
Windows XP.
I just got the latest ARSPerl yesterday.
Active State Perl 5.8.4
I know the connection is good. I can query tickets just fine. I just can't
create one. I know the fields exist in a valid Incident Management ticket
but I am not sure if they are the right ones.
Also, does anyone know what the forms with the plusses or '+' mean? Should
I be using them, or no plusses or what?
The error I get is:
[ERROR] Field does not exist on current form () (ARERR #314) at
C:\tmp\remedy\trial\make_ticket2.pl line 26.
The code I am trying to use is:
my $schema = "Incident Management";
$entry_id = ars_CreateEntry($c,
$schema,
$f{'Notification Text'}, "Demo notification Text create ticket from Perl",
$f{'Incident Description'}, "Demo description of Perl item",
$f{'Category'},"Applications",
$f{'Type'}, "Interface",
$f{'Affected Item +'}, "Claims Backend Processing",
$f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
$f{'Account Affected +'}, "Catholic Healthcare West",
$f{'Customer Name +'}, "David van De Kerk",
$f{'Source'}, "Phone"
)
||
die $ars_errstr;
Dave van De Kerk
602-307-2447
|
|
From: Jeff M. <jcm...@je...> - 2007-07-17 19:19:51
|
Van De Kerk, David - PHX wrote:
>
>
>
> The code I am trying to use is:
>
> my $schema = "Incident Management";
>
$f = ars_GetFieldTable($c, $schema);
> $entry_id = ars_CreateEntry($c,
> $schema,
> $f{'Notification Text'}, "Demo notification Text create ticket from Perl",
> $f{'Incident Description'}, "Demo description of Perl item",
> $f{'Category'},"Applications",
> $f{'Type'}, "Interface",
> $f{'Affected Item +'}, "Claims Backend Processing",
> $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
> $f{'Account Affected +'}, "Catholic Healthcare West",
> $f{'Customer Name +'}, "David van De Kerk",
> $f{'Source'}, "Phone"
> )
> ||
>
|
|
From: Jeff M. <jcm...@je...> - 2007-07-17 19:26:46
|
hrm. i meant to type
%f = ars_GetFieldTable($c, $schema);
note the "%"
Jeff Murphy wrote:
> Van De Kerk, David - PHX wrote:
>>
>
>> The code I am trying to use is:
>>
>> my $schema = "Incident Management";
>>
>
> $f = ars_GetFieldTable($c, $schema);
>
>> $entry_id = ars_CreateEntry($c,
>> $schema,
>> $f{'Notification Text'}, "Demo notification Text create ticket from Perl",
>> $f{'Incident Description'}, "Demo description of Perl item",
>> $f{'Category'},"Applications",
>> $f{'Type'}, "Interface",
>> $f{'Affected Item +'}, "Claims Backend Processing",
>> $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
>> $f{'Account Affected +'}, "Catholic Healthcare West",
>> $f{'Customer Name +'}, "David van De Kerk",
>> $f{'Source'}, "Phone"
>> )
>> ||
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: Vaughan, M. <Mar...@ca...> - 2007-07-17 19:37:47
|
It should be:
%f =3D ars_GetFieldTable($c, $schema);
Mark Vaughan
TTS Development
Comcast Cable Corporation
720.268.8591
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...] On Behalf Of Jeff Murphy
Sent: Tuesday, July 17, 2007 1:20 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] HELP! How to make a Remedy incident
management ticket - why does it fail?
Van De Kerk, David - PHX wrote:
>=20
>=20
>=20
> The code I am trying to use is:
>=20
> my $schema =3D "Incident Management";
>=20
$f =3D ars_GetFieldTable($c, $schema);
> $entry_id =3D ars_CreateEntry($c,
> $schema,
> $f{'Notification Text'}, "Demo notification Text create ticket from
Perl",
> $f{'Incident Description'}, "Demo description of Perl item",
> $f{'Category'},"Applications",
> $f{'Type'}, "Interface",
> $f{'Affected Item +'}, "Claims Backend Processing",
> $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
> $f{'Account Affected +'}, "Catholic Healthcare West",
> $f{'Customer Name +'}, "David van De Kerk",
> $f{'Source'}, "Phone"
> )
> ||
> =20
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|
|
From: <jar...@gm...> - 2007-07-17 20:21:08
|
If you'r using Change mgmt in ITSM7 I do not recomend to fetch field
tables. The Change mgmt form contain more than 1200 fields, so it
takes forever to fetch them.
Use the CHG:Change_Interface form, or even better, use the fieldid.
--
Jarl
On 7/17/07, Jeff Murphy <jcm...@je...> wrote:
> Van De Kerk, David - PHX wrote:
> >
> >
>
> >
> > The code I am trying to use is:
> >
> > my $schema = "Incident Management";
> >
>
> $f = ars_GetFieldTable($c, $schema);
>
> > $entry_id = ars_CreateEntry($c,
> > $schema,
> > $f{'Notification Text'}, "Demo notification Text create ticket from Perl",
> > $f{'Incident Description'}, "Demo description of Perl item",
> > $f{'Category'},"Applications",
> > $f{'Type'}, "Interface",
> > $f{'Affected Item +'}, "Claims Backend Processing",
> > $f{'Assignee Group +'}, "CHWE-Integration Svs EDI",
> > $f{'Account Affected +'}, "Catholic Healthcare West",
> > $f{'Customer Name +'}, "David van De Kerk",
> > $f{'Source'}, "Phone"
> > )
> > ||
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|