Closed floitsch closed 2 years ago
Given that the Toit server can buffer messages and isn't guaranteed to maintain order, it feels like using the "createdAt" time for the "arrivalTime" makes some sense.
Alternatively, I could add this information as additional meta field.
Hi, I doubt that this would work, because the arrivalTime
property is set within a machine too (when a message is added to the inbox). So I propose you better go with your suggested alternative, i.e. simply add an additional meta-field.
Hi, I doubt that this would work, because the
arrivalTime
property is set within a machine too (when a message is added to the inbox). So I propose you better go with your suggested alternative, i.e. simply add an additional meta-field.
I think I tested it, and was able to override the value. But not 100% sure.
Will go with an extra meta-field. (createdAt
).
Ok, I've checked a bit closer and you are right :-) Same fields of a received message overwrite those added by machine. So both alternatives should do...
One question: should I still go with the Excel serial time format? It seems like it's the preferred format in streamsheets.
Yes, serial-number is the preferred time format within streamsheets, because it makes time based calculation easier. However, since you use a custom property you are free to choose. But if you plan to use this property for calculation using a serial-number is probably better.
Overwrites the arrival time of the meta information with the "createdAt" time.