Seemingly Trivial Function Question

I'm encountering an issue with getting the seemingly trivial script that appears below to run. As should be discerned from the code, it should refresh a particular data table that was assigned to be the parameter. Yet, when running the script with the debugged value of one of my tables in a visualization, it won't refresh the particular data table. I'm a beginner learning how to script within Spotfire, so any help would be appreciated. Thanks in advance.

if table.IsRefreshable and table.NeedsRefresh:

(1) Answer