Building Blocks > Domain-Specific Building Blocks > Shift Building Block > Additional Information (Shift Building Block)
Additional Information (Shift Building Block)
Keep in mind the following information while working with the shift building block.
For repeating calendar days (PTC.Shift.CalendarDayRepeating Data Shape), note the following:
The day index (dayIndex) values must start at 0 and increment.
No gaps are allowed in the day index:
Valid: 0,1,2,3,4,5,6
Invalid: 0,1,2,5,6,7,8
Invalid: 1,2,3,4,5,6,7
Non-working days for a calendar must specifically be indicated using the nonWorkDay field.
Within a shift schedule, there can be no repeating day indexes. Each day index value must be unique within a given shift schedule.
Was this helpful?