I was using Value source as Expression
and Data Type as DateTime
. to find out for a given shift what was the start time and it was giving me error_configuration
case(
{[.]currentShift} = 1, {[.]Shift1/startTime},
{[.]currentShift} = 2, {[.]Shift2/startTime},
{[.]currentShift} = 3, {[.]Shift3/startTime},
now()
)
am i missing something ? Thank you for your help