availableDataScript

Runs a available data 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. 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 = len(request) == len(available)

</availableDataScript>

This consists of

<availableDataScript>

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

Places this can be found

In availableData there is a choice between all of the following