expression can return error if the data that you use is empty or different from what the expression is expecting.
I will recommand you to put a breakpoint in the microflow, and check in the variables tab what is the value of $InboundShipment/SHIPMENT_5TH_BUS_DATE
If this value seems to be correct maybe try to separate your condition in different variables. For example parseDateTime($InboundShipment/SHIPMENT_5TH_BUS_DATE,
'yyyy-MM-dd''T''HH:mm:ss.SSS') inside a new variable. same for toString([%CurrentDateTime%]) etc…
Doing so you should be able (with the debugger) to see where is the problem.
The value of $InboundShipment/SHIPMENT_5TH_BUS_DATE is not matching a value which can be parsed into a date. Causing this function to fail: (parseDateTime($InboundShipment/SHIPMENT_5TH_BUS_DATE,
'yyyy-MM-dd''T''HH:mm:ss.SSS')
I would debug the microflow to find the value used in the microflow, to find the root cause of the value