Service...ncident(3)
π Service...ncident(3) π
okay so bestie, welcome to the Service-now Perl API β this one's the Incident perl module, and she's a whole icon. it lives in User Contributed Perl Documentation, and if you're here you're probably about to do some very serious ticket wrangling. slay. π
β¨ Incident module β¨
Service-now Perl API - Incident perl module
π Desciption π
an object representation of an Incident in the Service-now platform. she provides subroutines for querying, updating, and creating incidents. literally your whole incident lifecycle, handled. no cap. π₯
πΈ System Requirements πΈ
the Service-now Perl API requires Perl 5.8 with the following modules installed:
SOAP::Lite(prerequisites http://soaplite.com/prereqs.html) 0.71 or laterCrypt::SSLeayIO::Socket::SSL
bestie do NOT skip these. install them first, thank me later π«Ά
π¦ Constructor π¦
β new
new(Configuration);
Example:
$incident = ServiceNow::ITIL::Incident->new($CONFIG);
takes a configuration object and manufactures an Incident object connected to the Service-now instance. that's it, that's the birth of your incident object, main character energy from day one π
π Subroutines π
π close
close(number, hashmap);
Example:
$incident->close($number)
close an incident and update values described in the hash map passed in. bye bye incident, hope you had a good run π₯²
π§ reopen
reopen(number, hashmap);
Example:
$incident->reopen($number);
re-open a closed incident and update values described in the hash map passed in. not me resurrecting a closed ticketβ¦ it's giving necromancy, honestly π
π createProblem
createProblem();
create a problem ticket from an incident and associate it. returns the sys_id of the newly created problem ticket. look at you, escalating the drama properly β¨
π₯ createChange
createChange();
create a change request from an incident and associate it. returns the sys_id of the newly created change request. iconic behaviour, fr fr π
reminder bestie: those sys_id returns are the receipts. hold onto them. π
and that's the whole page, my love π this was Service...ncident(3) from User Contributed Perl Documentation, and the footer energy is: perl v5.42.0, dated 2025-07-25. go forth and query, update, and create incidents like the absolute legend you are π periodt.
π¦ where this page comes from
- fedora 43: perl-ServiceNow-API 1.01-38.fc43 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms