...
Workflows: System Administration (User management, Group management)
User Accounts - Accounts, Authentication, Groups, Connections
Data Flow Sketch (import/update) - IN PROGRESS
...
CSV ingest
Options
Set batch-specific import settings
Errors/outcomes
File cannot be read/parsed (everything fails)
Invalid character encoding that does not render entire file unreadable (report row/column containing problem)
Code actions
Split into separate rows and assign RowID corresponding to row sequence to facilitate errors/warnings that can usefully reference a row from the imported CSV
Display
Count of successfully imported rows
User actions
Initiate initial validation and record status check
...
Initial validation
Code actions, errors, outcomes
Creates Mapper::DataHandler connection/object for use with the batch
FIRST ROW sent to Mapper for validation (DataHandler.validate(data_hash))
If it gets a “Missing Required Field” error
Do not send any more rows
Tell user that CSV is missing a required column. They need to add that and reimport
WORKFLOW STOPS HERE
If it gets no error or a “Required Field Empty” error, continue sending rows for validation
As additional rows are returned from the Mapper with no errors, tag them as “New” or “Existing”
Result display
Count of valid and invalid records
Count of new and existing records
Columns - (f) indicates filterable column
RowID
RecordID value
(f) Valid? (y/n)
(f) Status (new/existing)
User actions
Filter or select records and…
Export selected to CSV (will do that and return to or remain on this view)
Remove selected from batch
Initiate Data Preparation
Data Preparation
Code actions, errors/warnings, outcomes
...
Multivalued fields are split, transformations are applied to field values, data quality checks are run
User interaction and design
...