Hi Maya,

The problem is not the param name that actually should be sysId (I renamed it) the problem seems to be that the script raise an error when trying to reference th $sp object which seems not to be visible in the script scope at least with that syntax