Passing View parameters to runScript

I am attempting to use an expression binding on instances for a flex repeater.

runScript(
    "propertyScripts.getInterlocksTEST", 5000, {view.params.hmiTagName}, {view.params.tagName}
)

In the project library I have a script named 'propertyScripts'. This is how I define the script. 'def getInterlocksTEST(hmiTagName, tagName):'

I have a feeling I am messing up on the passing or calling. I am still not sure if my script is correct but I want to make sure I have this part correct first before moving on to the rest.

That runScript() expressions looks fine for that function signature. I recommend you add logging and exception handling to your script.