stationScript

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

Example

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

This consists of

<stationScript>

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

Places this can be found

In station there is a choice between all of the following

In stationPlus there is a choice between all of the following