Interface CodeNodeParameters

Source
interface CodeNodeParameters {
    jsCode?: string;
    language?: "javaScript" | "python";
    mode?: "runOnceForAllItems" | "runOnceForEachItem";
    pythonCode?: string;
}

Properties§

Source§

readonly jsCode?: string

JavaScript code to execute.

Tip: You can use luxon vars like $today for dates and $jmespath for querying JSON structures. Learn more. Type options: {"editor":"codeNodeEditor","editorLanguage":"javaScript"}

Source§

readonly language?: "javaScript" | "python"

Default: "javaScript"

Source§

readonly mode?: "runOnceForAllItems" | "runOnceForEachItem"

Default: "runOnceForAllItems"

Source§

readonly pythonCode?: string

Python code to execute.

Tip: You can use built-in methods and variables like _today for dates and _jmespath for querying JSON structures. Learn more. Type options: {"editor":"codeNodeEditor","editorLanguage":"python"}