I need some Javascript to transform a string into a number and return it as an array for use in the rest of the workflow. I’m not very Javascript proficient and have tried this formula but it doesn’t return anything:
const schedule_date = parseInt("sch_date")
const date = Object.keys(schedule_date)
return date
I saw this post, but am unsure about how to relate this to my modules - can this be put directly into an expression or should I use a Function node?