Hi team,
We are trying to render the events in the non-working interval, but they are getting rendered as milestones even though the timings of the event are not of milestone use-case. This is not happening when the event is in the working interval.
Reproduced the issue in the sample app with sample data as :
calenders: [
{
"intervals": [
{
"endDate": "2023-03-01 12:30:00.000",
"name": "",
"startDate": "2023-03-01 10:30:00.000",
"isWorking": true
}
],
"name": "Time Slot",
"id": "2023-3-1 16:00:00 - 2023-3-1 18:00:00",
"unspecifiedTimeIsWorking": false
}
],
events:[
{
"workOrderTaskAppointmentWindowStartDate": "2023-03-01 10:30:00.000",
"minStartDate": "2023-03-01 10:30:00.000",
"maxEndDate": "2023-03-01 12:30:00.000",
"resourceId": "5L11CTAH9E",
"workOrderTypeId": "VPHX9O8BRF",
"endDate": "2023-03-01 02:00:00.000",
"statusColor": "#0aa9c2",
"customerCompanyName": "Saurav as a customer",
"regionName": "Bellandur-Bengaluru",
"siteName": "Saurav's new home site",
"type": "Corrective Maintenance - Single Technician",
"taskAtRisk": 0,
"taskTypeName": "Corrective Maintenance - Single Technician",
"tooltipHeader": "<b>Corrective Maintenance - Single Technician</b><br/>TSK000053",
"taskTypeId": "L4SW9O8XJU",
"scheduledStartTime": "2023-03-01 11:00:00.000",
"customerId": "2C06N8CT4A",
"workOrderTaskId": "TSK000053",
"workOrderTaskEstimatedDuration": 1,
"id": "7AV86PEEJ6-5L11CTAH9E",
"multiBreakdownTaskFlag": false,
"workOrderTaskEstimatedDurationMinutes": 60,
"workOrderTaskAppointmentWindowEndDate": "2023-03-01 12:30:00.000",
"priorityIndex": "10",
"alloweEventOverlap": false,
"workOrderTaskAppointmentBasedFlag": 1,
"calendar": "2023-3-1 16:00:00 - 2023-3-1 18:00:00",
"workOrderTaskAppointmentWindow": "[{\"start\":\"2023-03-01 10:30:00.000\",\"end\":\"2023-03-01 12:30:00.000\"}]",
"workOrderTaskAppointmentWindowId": "NIE86PE7AB",
"scheduledEndTime": "2023-03-01 12:00:00",
"resultWebPageId": "GEZKCPA4BA",
"icons": "",
"taskTypeCrewTask": 0,
"crewTask": 0,
"workOrderTaskTypeId": "L4SW9O8XJU",
"statusId": "workOrderTaskScheduled",
"regionId": "ZVVLECEO96",
"eventColor": "#0aa9c2",
"name": "[High] TSK000053",
"workOrderTaskScheduledDate": "2023-03-01 11:00:00.000",
"workOrderRequestedDate": "2022-12-29 09:14:03.486",
"startDate": "2023-03-01 01:00:00.000",
"status": "Scheduled"
}
]
And manuallyScheduled: true
Tried to resolve this issue by removing the milestone CSS and adding our own CSS in the eventRenderer, but we have the usecase where we need to add dynamic eventColor and this is not possible using external CSS.
How can we show the event in the non-working interval not as a milestone?
Any help is appreciated, Thank you.