Versions Compared

Key

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

...

Info

Example - Validate Function configuration, input, and output data from the example stream ‘Printing As A Service’.

In the example stream Printing As A Service, Several validation rules have been created on various fields. One of these rules is on the field, printerId. It has a key of type and a value of integerwhich means the function will check to make sure that the printerId is an integer.

example_validation_rule.pngImage Added

In the function’s input data, we can see that one record that has an invalid printerID, “invalidShouldBeInt”. In the output data the record is missing as it has been removed during the validation process.

example_validation_rule.pngImage Removed