(2024.1) Service Desk Bulk Update Event
The (2024.1) Service Desk Bulk Update Event can be triggered using Custom Logic. The following parameters are Required to execute the Event.
Service Desk Bulk Update
/**
* Event: Service Desk Bulk Update requested
* Listener Class: Servicedesk_Model_ServiceDesk
* Listener Method: eventBulkUpdate
*/
PCR_Event::attachDb(
"bulk-update",
["Servicedesk_Model_ServiceDesk" => "eventBulkUpdate"]
);
PCR_Event::trigger(
"bulk-update",
[
"due_date_enabled" => "0",
"sd_type_enabled" => "0",
"sd_status_enabled" => "0",
"csr_enabled" => "0",
"contact_owner_enabled" => "0",
"dept_hier_owner_enabled" => "0",
"requestor_enabled" => "0",
"sd_source_enabled" => "0",
"assoc_proj_enabled" => "0",
"impact_enabled" => "1",
"impact" => "132",
"urgency_enabled" => "1",
"urgency" => "321",
"RECID" => "25196",
"dialogCallback" => true,
"confirmed" => true,
"comment" => "This is a comment",
"users_recid" => "1217",
"contact" => "216121",
"cronEvent" => true,
"selectedServiceDeskRecids" =>
[
"25196", //RecID of Service Desk record getting updated
"25195" //RecID of Service Desk record getting updated
],
"selectedServiceDeskFilters" => [],
"eventBroadcastBy" => "216121",
"eventBroadcastTime" => "Oct 3, 2022, 3:19 pm",
"eventBroadcastDayofWeek" => "1",
"eventBroadcastHourMin" => "1519",
]
);