Delete persistent flow context variable

Technically it's:

flow.set(msg.payload, undefined);
global.set(msg.payload, undefined);

Omitting the undefined is fine, but you may prefer to be explicit so it's clear.

13 Likes