channelScript

Runs a channel subsetter script via JSR223. The networkSource is put as "networkSource" and the channel as "channel". The channel object is a VelocityChannel, the same class used in the templates for the printlineChannelProcess. See the scripting tutorial for more information on inlining scripts into a SOD recipe.

Example

<channelScript type="jython">
    if networkAttr.get_code() == 'IU' or networkAttr.get_code() == 'II':
      print networkAttr.get_code()
      result = True
    else:
      result = False
</channelScript>

This consists of

<channelScript>

An attribute named type with a value of Any Text Any text
</channelScript>

Places this can be found

In channel there is a choice between all of the following