REAL TIME: Report the data validation issues
Validation warnings are typically unresolved Managed Metadata tags, non existing users and Content-Types etc,
|From the DataETL Step you can output the reporting result to:
Active integrated reporting
The report can be a stand alone job you run or an integrated part of your migration set up since it is based on a standard DataETL Step.
You can choose to create the report at the end of a job or for each iteration in a For-Each and for example only if any errors happen (test the Variable
[<ETL-Count>] > 0 to determine if any rows were reported). Then upload an output CSV or XLSX to SharePoint and name it according to the context in which it was created (for example ProjectId or CustomerId etc). Or create Items in a SharePoint list for review. Then finally notify someone or start a workflow using PowerAutomate.
|Column description for database view: report_datavalidationwarnings
|Name of the column that triggered the warning
|The URL to the list or Library containing the the column that triggered the warning
|The message recorded in the session log. Any specific SharePoint or file system error is also recorded in this column
| The information specified on the Options tab in any Step where you can mix Variables with hard coded text to form a context relevant value for example
At runtime the Variable
[<SessionLog-CustomInfo>] contains the current value. Use this column in combination with the column
[sessionlog_id] and the variable
[<SessionLog-Id>] to reference files being processed in the current job for example a For-Each iteration.
(Job runtime only)
| The id of the job session in which the file was processed. Use this column in combination with the system Variable
[<SessionLog-Id>] to query the files that are being processed by the current job (at runtime). This is useful when doing reporting as part of a job.
Note that you can also use the Variable
[<SessionLog-CustomInfo>] to reference files that belong to for example a specific For-Each iteration or other section of the job.
The value for the
[<SessionLog-CustomInfo>] Variable is defined on the Options tab in any Step and can contain Variables mixed with hard coded text to form a context relevant value for example
|The name you manually type in in the Job tab for a given job session.
|The row number in the session log
Id of the Step that performed the file operation. You can see any Step’s id in the properties window that you can open from the Options tab or the Properties toolbar button in the top right of the Step.
Name of the FileManagement Step that performed the file operation.
| The message describing why the
source_value did not validate
|The date and time when the validation took place.