Perl API dictionary

An object representation of a dictionary record in the ServiceNow platform. Provides subroutines for querying, updating, and creating sys_dictionary.

Dictionary module

ServiceNow Perl API - dictionary module

new

new(Configuration);

Example:
$dic = ServiceNow::ITIL::Dictionary->new($CONFIG);

Takes a configuration object and manufactures a Dictionary object connected to the ServiceNow instance

queryFields

queryFields(table name, optional boolean choice)

Example:
$sys_dictionary->queryFields('incident');   

Returns an array of hashes containing each field for specified table. If choice is specified then get choice values for each of the choice fields and put them into the hash element 'choices'.