I am working on ArcGIS Pro 3.0, and I am trying to run a workflow (using Workflow Manager Server on ArcGIS Enterprise version 10.9.1) that runs a geoprocessing tool -- specifically 'Reconcile Versions' in data management toolbox -- automatically. The result I want to achieve is:
Right now, the tool is able to detect that there is a conflict and does not reconcile and post the problematic branch version. However, workflow manager is reading it as a "Success" because the message that gets generated is only at "Warning" level and ArcGIS Pro interprets that the tool has ran successfully. This is not ideal as I am unable to configure the Workflow path logic to read the Warning message and treat it as a 'Failure'.
I was just wondering if it is possible to get a geoprocessing tool to fail its execution when a warning message is generated?