1ServiceNow::ITIL::IncidUesnetr(3C)ontributed Perl DocumeSnetravtiicoenNow::ITIL::Incident(3)
2
3
4

Incident module

6       Service-now Perl API - Incident perl module
7

Desciption

9       An object representation of an Incident in the Service-now platform.
10       Provides subroutines for querying, updating, and creating incidents.
11
12   System Requirements
13       The Service-now Perl API requires Perl 5.8 with the following modules
14       installed
15
16         * SOAP::Lite (prerequisites http://soaplite.com/prereqs.html) 0.71 or later
17         * Crypt::SSLeay
18         * IO::Socket::SSL
19

Constructor

21   new
22       new(Configuration);
23
24       Example:
25
26         $incident = ServiceNow::ITIL::Incident->new($CONFIG);
27
28       Takes a configuration object and manufactures an Incident object
29       connected to the Service-now instance
30

Subroutines

32   close
33       close(number, hashmap);
34
35       Example:
36
37         $incident->close($number)
38
39       Close an incident and update values described in the hash map passed
40       in.
41
42   reopen
43       reopen(number, hashmap);
44
45       Example:
46
47         $incident->reopen($number);
48
49       Re-open a closed incident and update values described in the hash map
50       passed in.
51
52   createProblem
53       createProblem();
54
55       Create a problem ticket from an incident and associate it. Returns the
56       sys_id of the newly created problem ticket
57
58   createChange
59       createChange();
60
61       Create a change request from an incident and associate it. Returns the
62       sys_id of the newly created change request
63
64
65
66perl v5.36.0                      2023-01-20     ServiceNow::ITIL::Incident(3)
Impressum