NAME
Kernel::System::ProcessManagement::Modules::LinkWithITSMConfigItem – A module to link ITSM configuration items.
DESCRIPTION
All LinkWithITSMConfigItem functions.
PUBLIC INTERFACE
new()
Don't use the constructor directly, use the ObjectManager instead:
my $LinkWithITSMConfigItemObject = $Kernel::OM->Get('Kernel::System::ProcessManagement::Modules::LinkWithITSMConfigItem');
Run()
Run Data
my $Success = $LinkWithITSMConfigItem->Run(
UserID => 123,
Ticket => \%Ticket, # required
ProcessEntityID => 'P123',
ActivityEntityID => 'A123',
SequenceFlowEntityID => 'T123',
SequenceFlowActionEntityID => 'TA123',
Config => {
ConfigITSMConfigItemSearch => {
ClassIDs => [9, 8, 7, 6], # (optional)
DeplStateIDs => [1, 2, 3, 4], # (optional)
InciStateIDs => [1, 2, 3, 4], # (optional)
LinkType => 'RelevantTo::Source', # (optional)
},
ConfigSearchKeyValueList => {
Number => 'The ConfigItem Number', # (optional)
Name => 'The Name', # (optional)
# configuration items with created time after ...
ConfigItemCreateTimeNewerDate => '2006-01-09 00:00:01', # (optional)
# configuration items with created time before then ....
ConfigItemCreateTimeOlderDate => '2006-01-19 23:59:59', # (optional)
# configuration items with changed time after ...
ConfigItemChangeTimeNewerDate => '2006-01-09 00:00:01', # (optional)
# configuration items with changed time before then ....
ConfigItemChangeTimeOlderDate => '2006-01-19 23:59:59', # (optional)
# XML attributes (defined by class)
'ElementA::ElementB' => '%contentA%',
'ElementA::ElementB' => '%contentC%,%contentD%,%contentE%,
}.
UserID => 123, # optional,to override the UserID from the logged user
}
);
- `Ticket` contains the result of TicketGet including DynamicFields.
