Skip to content

Instantly share code, notes, and snippets.

const new_items = [];
const key_field = $("Globals").first()["json"]["dedup"]["key"];
console.log("key_field from json.key: " + key_field);
const now = $now
// Get static data stored with the workflow
data = $getWorkflowStaticData("node");
// delete the old cache, that didn't have time
data.ids = null;