MacroHealth Internal

Parse with FileDefinition

This shovel operation validates and parses a file based on a particular File Definition.

The Parse with FileDefinition operation accepts a file in Single File Mode, parses and validates the document. This switches the mode to standard runtime mode. The Validate document operation creates 2 output flows each containing one context:

  • one containing the parsed split portions of a file

  • one containing validation results

Widget
ParseWithFileDefintition.png
Configuration
ParseWithFileDefintition_Config.png
  1. Fill in the following fields:

    • Description: Allows changing the name that appears on the widget. This may be useful to quickly find a particular widget or distinguishing it from other similar shovel operation widgets when building large flows.

      Description.png
    • Shovel Operation: The name of the Shovel Operation. Pre-configured to ValidateAndParseFile.

    • fileDefinitionEntityType: The entity type for the file definition. This is the string value that was provided when the File Definition was created.

    • fileDefinitionId: The unique Id for the File Definition.

    • fileDefinitionVersion: A specific version of the file definition.

    • parseContext: The context to add the parsed file to.

    • validationContext: The context to add validation results to.

  2. If necessary, click the Notes tab and enter any relevant information.

    NotesTab.jpg
  3. Click Save.

    ParseAndValidateFile.png
  4. The widget will be marked with a green check.

    ParseWithValidateFileGC.png