It looks like we are just missing one step. When setting up arguments for the Resource, the value for the key 'addresses' is what we'll set data for using 'additionalScope.' For example, if we set the value as {{ foo }}, we would trigger the query using this additionalScope:
Because the value for the key 'addresses' is {{ foo }}, "helloWorld" would become the value for 'addresses.' Just add a value for that key and it should work:
Used variable(test_variable) to pass the value, but I'm still having trouble.
It seems that setting a variable with additionalScope sets an empty value to the variable. (attached image #2).
I wonder if there is a bug in the RPC related function, for now, I solved it by assigning the values directly before calling trigger in the js script. (attached image #3).