Hello, this is my first post. In my project, I am using the Present Validation Station. I want to extract the reason that was input by the user in the Present Validation Station when rejecting a document and put it into a variable. These are the screenshots. Thanks!
Hey
I think the only thing that you can do is to manage that kind of exception inside a trycatch and start adding the file name into a collection. However remember that present validation is just for debug purposes
Regards
Hi, is there any way of extracting the reason? Currently, my present validation station is already in a try-catch and it is in a ForEach loop that will loop through the all the files in the folder
Hey
try with this
Regards
Yup, this is what i want, Thank you very much! Hope you have a good day!
Hello @thewy
You can also look at:
exception.innermessage.ToString
It’s not always helpful but sometimes is
exception.getType
This will allow you to catch the specific exception type in the Catch block instead of a general ‘system.exception’
I would suggest swapping your write line activity for a “Log Message” at Error level.
Hopefully this helps
Cheers
Steve
Hi, will definitely try this in future projects! thanks for your input!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.