Hello, I’ve been using the Script block in OB2. I’ve created a Node.js function that needs to receive 2 inputs, but I see that only one can be provided. Is there any way to have 2 inputs? Thanks in advance.
I’m not sure if I got my point across, but here’s an example;
function processInputs(input1, input2) {
return "pass";
}
// Example
const input1 = "value1";
const input2 = "value2";
const result = processInputs(input1, input2);
Oh God, I’ve figured it out, it was really something simple. In the input of Ob2, I just had to separate them with commas:
input1, input2
How embarrassing! LMAO