1ServiceNow::ITIL::ApproUvsaelr(3C)ontributed Perl DocumeSnetravtiicoenNow::ITIL::Approval(3)
2
3
4

Approval module

6       Service-now Perl API - Approval perl module
7

Desciption

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

Constructor

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

Subroutines

33   reject
34       reject(sys_id of approval record, optional comment string)
35
36       Example:
37
38          $approval->reject($sysID,$comment);
39
40       Reject the Approval record with specified sys id, and add comment to
41       approval if given.
42
43   approve
44       approve(sys_id of approval record, optional comment string)
45
46       Example:
47
48          $approval->approve($sysID,$comment);
49
50       Approve the Approval record with specified sys id, and add comment to
51       approval if given.
52
53
54
55perl v5.38.0                      2023-07-21     ServiceNow::ITIL::Approval(3)
Impressum