Can anyone please tell me how I can reference the ProcessContext instance from within server script code? The instance can be accessed from the expression builder, as shown here:

But when I try to use it in a script, it's actually referring to the ProcessContext class because it's only showing its static members:
