Is there a way to get the previous message values in a pipeline before saving a new message?
This is a pseudocode of what i’m trying to accomplish
rule "concatenate sha512"
when
has_field("hash")
then
let previoushash = $PREVIOUSMESSAGE.hash || ''
let hash = sha512(to_string($message.message) + previoushash);
set_field("hash", hash);
end
idk, how to get $PREVIOUSMESSAGE, or in general if the pipeline is where is should do this kind of operation…