It might be useful if every writer feature type and the FeatureWriter would have <Rejected> port and Filter tab.
<Rejected> port: Outputs features that have been rejected by the writer. e.g. features which have null or missing attributes for non-nullable fields in the destination feature type, features which have an invalid geometry against allowable geometry type or structure in the destination feature type, etc.
Filter tab: Optionally the user can specify a condition to filter features that should be written into the destination feature type, like the Tester transformer. When a condition is specified in this tab, features that do not match the condition will be output via the <Rejected> port.
Expected Advantage:
- Allow the user to collect rejected features and create a report about them as another output dataset.
- Make it easier to investigate the reason for the rejection in conjunction with the Inspector.
- A Tester may be removed from the workspace for a simple data extraction and loading.