vectorAvailableDataScript

Runs a vector available data subsetter script via JSR223. The event is put as "event" and the channelGroup as "channelGroup". The channelGroup and event objects are a VelocityChannelGroup and VelocityEvent, respectively, the same classes used in the templates for the printlineChannelProcess. The original request is put as "request" and the returned available data, also as an array of RequestFilter objects, is put as "available". See the scripting tutorial for more information on inlining scripts into a SOD recipe.

Example

<availableDataScript type="jython">
    result = True
    for i in range(len(request)):
        if len(request[i]) != len(available[i]):
            result = False
            break

</availableDataScript>

This consists of

<vectorAvailableDataScript>

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

Places this can be found

In vectorAvailableData there is a choice between all of the following