Compartilhar via


msdyn_SLACustomTimeCalculationTemplate Action

Register a plug-in step for this message to customize the calculation of the warning time and the failure time of SLA KPIs by enabling own custom time calculation.

Parameters

Parameters allow for data to be passed to the action.

Name Type Nullable Unicode Description
calendarId
Edm.String False False

The Calendar ID associated with the SLA item. It will be an empty string if no calendar is linked to the SLA item.

regardingId
Edm.String False False

The Record ID of the entity for which SLA KPI instance is getting created. For example: Case ID.

slaItemId
Edm.String False False

The SLA item ID for which the KPI instances are getting created.

entityName
Edm.String False False

The Logical name of the entity for which SLA KPI instance are getting created.

requestType
Edm.String False False

The LogicalName of the table that the SLA KPI instances will be created for.

previousInstanceId
Edm.String False False

The ID of the previous SLA KPI instance is populated during pause and resume and also for active duration calculation of every slakpiinstance.

firstInputDuration
Edm.Int32 False True

The warning time duration in minutes if requestType is getEndTime. Otherwise it must be previous paused time in minutes if the requestType is getElapsedTime. It will be Zero if the pause and resume is for the first time.

secondInputDuration
Edm.Int32 False True

The failure time duration if requestType is getEndTime.

firstInputDate
Edm.DateTimeOffset False True

The StartTime (ApplicableFrom) of SLA KPI if requestType is getEndTime. Otherwise it must be the time when SLA KPI was paused if requestType is getElapsedTime.

secondInputDate
Edm.DateTimeOffset False True

For the failure time,the StartTime (ApplicableFrom) of SLA KPI if requestType is getEndTime. Otherwise it must be the time when SLA KPI was resumed.

Return type

Type Nullable Description
msdyn_SLACustomTimeCalculationTemplateResponse False Contains the response of the msdyn_SLACustomTimeCalculationTemplate action.

See also