depending on the script type, it may be in context...
# suitescript
r
depending on the script type, it may be in context. a mass update script sends in params.id, for example.