Compare current data with data from the last 2 days

Ok, lets look at your flow. First edit each of the inject nodes and set the intervals to none so you will have to press the inject to trigger it.

Next add a debug node ( set to dsplay the complete msg object) to the output of the change node.

Now run the 'conter' flow, look at the debug output and look at the function node. What do you notice?

You have your change node overwriting the variables in the 2nd functon - you are taking the value from yesterday and putting it into today (for example)

Have you read the previous links on Flow variables, context variables and persistence ?

Craig

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.