Accessing system variables with Velocity

I need to access the sys_context variable within velocity.

I have tried using $sys.params.sys_context, but I am not getting the value.

What am I doing wrong? Thanks.

The $sys.params are String Arrays, so you need to reference them as arrays. There’s a different syntax in JEXL and Velocity.

See this thread: http://forum.percussion.com/showthread.php?t=113

Dave