Hi,
Looking for best-practice approach to help with the following scenario:
A source file supplied must have each record pass all validation checks, or the entire data set is to be rejected.
Upon rejection, the users are to be emailed (got it) and the file moved to a ‘rejected’ folder (can’t figure out how; SystemExecute always runs even with phase tweaks).
Also - if the graph fails due to any system issue (database, OS, filesystem, network, server hiccup, other etc.) then the IT team is to be notified, via email, and the source file rejected.
Presently my graph detects data issues and forces a raiseError (“Data invalid error”) if one (or more) bad record is detected .
An ‘Error-handler’ graph could launch on GRAPH_ERROR, but how would it determine the cause of the error, and respond appropriately?