Global name 'system' is not defined

Nothing - this is a holdover from legacy scripting. You can call import system inside your defined function and run the system functions correctly. This (should) only apply to defined functions inside gateway event scripts.

1 Like