eventChannelScript
Runs a eventChannel subsetter script via JSR223. The event is put as "event" and the channel as "channel". The channel and event objects are a VelocityChannel and VelocityEvent, respectively, the same classes used in the templates for the printlineChannelProcess. See the scripting tutorial for more information on inlining scripts into a SOD recipe.
Example
<eventChannelScript type="jython"> if channel.getOrientationCode() == 'N' and abs(channel.getAzimuth()) > 5: # reject N channels that are more than 5 degrees from north result = util.fail('channel not really North'+channel.getAzimuth()) </eventChannelScript>
Places this can be found
In eventChannel there is a choice between all of the following