How can I write a function that accepts a dynamic number of parameters in a visual rule editor (instead of fixed arguments)?
Hi everyone
I'm working with a visual rule editor (as shown in the screenshot attached – possibly AEM Forms or a similar tool) and I'm trying to create a function like setActionField() that can accept a dynamic number of input values, instead of hardcoding a specific number of arguments (like field1, field2, etc.).
Any guidance or examples would be greatly appreciated!


