Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These $PATH, $SETPATH and $SCRIPT statements are internally assembled by the flow-builder and will become part of criteria fields of the elements.

If the sourceBuilder() function creates more than one source element per node, the criteria script will be generated for all elements. However, there is one exception:

Only the last element created by a conditional node will contain the criteria value. 

Creation Criteria Scripts

...

  • A boolean, in which case the entity object is only created if 
  • A string, in which case any non-null string is treated like a boolean false, and in addition the string is logged as an error that can be accessed from the "harvest.harvest_message" field of sources.
Info

The creation criteria script is executed before any other scripts in the specification object.