Posted: Fri Nov 01, 2019 3:49 am Post subject: FileRead - get file name on parsing error
Newbie
Joined: 01 Nov 2019 Posts: 4
I have a FileRead node triggered by a TimeoutNotification node.
The file validation is enabled. When the parser detects an error, even the copy local environment is checked, the LocalEnvironment propagated by the node is a TimeoutRequest.
How can I get the name of the file that was parsed?
hi...the 'Copy local environment' selected at the Result tab of the FileRead node is applicable only when the file read is successful, i.e the control comes out via the 'Out' terminal of the FileRead. As the read is failing with parsing error at the node the error diagnostic details at the 'Failure' terminal of the node or the 'Catch' terminal of any previous node will not have the details of the file involved.
One way to retrieve the file name is to defer the validation to a downstream node.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum