1.2k questions
1.4k answers
361 comments
339 users
I want to only send messages with MSH-7 that is before a date/time set by a channel cache value. This is my comparison logic but it doesn't seem to work. What am I doing wrong?
var value = qie.deduceDate(source.getNode('MSH-7')); return value < qie.deduceDate(channelCache.getValue('batchEnd'));
var value = qie.deduceDate(source.getNode('MSH-7'));
return value < qie.deduceDate(channelCache.getValue('batchEnd'));
batchEnd is essentially used to delay messages from being processed until the date/time defined by it. Its value is updated by scheduled scripts. I would love to hear of a better way of doing the delaying as well.
Thanks!