Set Value - Server Connect

Hello everyone,

I have researched the forum about the Set Value server action but still have some questions.
I’m using node.js, ok?

I need to store in a variable the last value I used to update a table in the database. But I have some repeats and conditional and maybe it’s a scope issue. Will try to explain:

Is this the correct way to work with SetValue action? Maybe my logic is not right?
Tried to change names and keeping the global name and didn´t work.

Any help is very appreciated!
Thanks!

Community Page
Last updated: