Hi!
I’ve been passing input to my connectors in Application Integration via a small JavaScript, but I’m aware that this most likely isn’t the way to do so. However, I’m getting stuck finding out the way that we’re supposed to do so.
Right now, I will have a JavaScript like so:
function executeScript(event) {
var input = event.getParameter("variableA");
event.setParameter("`Task_21_connectorInputPayload`", input);
}
This takes a variable that has been created in a Data Map task, and inserts it as an input value to the next step, which is a BigQuery connector that needs some input. The reason why I’m not assigning this value to the Task_21_connectorInputPayload, is because this variable is not presented in the left sidebar in during data mapping, nor can I assign this to Task_21_connectorInputPayload, since the ` can’t be in the variable name. And mapping it to Task_21_connectorInputPayload doesn’t work, since the connector won’t recognise it as input.
What would be the better way to achieve this?
Many thanks!
