Using 'this' in RunJavascript function

Hi I am trying to run a custom function using the following function -
functionName(this)
How do I use “this” to call the object as an argument

Hello, please explain your question a little more detailed. Where are you using this function? How? Where does this object come from?

Parameters in the RunJavascript step of flows are supposed to come from dynamic bindings.
Don’t think there is a dynamic binding for this. Also, the flow itself is run from a different context than the element you are running it on… so the definition of this changes from what I understand.

You will have to use static events to call your JS function with this as param.

1 Like

Thanks much @sid for this explanation. Will make use of the static events