Hi all,
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:
- If a conflict is detected by this tool when run by workflow manager server, I would like the tool to fail its execution so that I can get the workflow to route based on the result "Fail" to another user to fix the conflict.
- If there are no conflicts detected, then the tool will have the result "Success" and the workflow ends.
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?
Thanks all