How to share Redis key+value between executions?

I’m using the key value <“chatLock”, chatNumber> at Redis, in the same workflow.

The idea is to answer only the last message. So the latest message always override “chatLock”

But when 2 executions are in progress, even with a Wait of 5 seconds at the at the end they always get their own lock value

Sounds like Redis key have a execution ID and prevents to override the key between executions.

Need help!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system: