export default async function (
{ inputData }: NodeInputs, // Access values of node input params
{ logging, env }: NodeScriptOptions,
): NodeOutput {
/* Log values while executing the node/workflow */
logging.log(">> Hello From Default!");
someFunc();
return {}
}
function someFunc() {
// This is what i want to do..
logging.log(">> >> Hello from someFunc()");
// I keep getting 'logging is not defined' ...
}
export default async function (
{ inputData }: NodeInputs, // Access values of node input params
{ logging, env }: NodeScriptOptions,
): NodeOutput {
/* Log values while executing the node/workflow */
logging.log(">> Hello From Default!");
someFunc();
return {}
}
function someFunc() {
// This is what i want to do..
logging.log(">> >> Hello from someFunc()");
// I keep getting 'logging is not defined' ...
}