I would like to get the text present in the “Show workflow messages” for a scheduled jobs in a knime workflow so that I can treat errors and identify when or why workflows are not running when they should.
I would like to be able to mine all errors messages.
Has anybody done something like that?
The errors/warnings shown when you click “Show workflow messages” are also available through the KNIME Server REST API.
If you send a GET request to
https://<myserver>:<port>/knime/rest/v4/jobs/, you’ll get a list of all jobs currently on KNIME Server. This includes messages produced by nodes in each job, e.g.
“node”: “Repository File Chooser Configuration 2:2”,
“message”: “File item invalid. No path provided.”
Hope that helps!
I managed to extract the information and using the json path node, followed by the ungroup node, I got the result I wanted.