Hello K2 community,
I have some custom code in an Endpoint Assembly SmartObject that I use in my workflow via a SmartObject event.
The SmartObject returns a value if it was successful or not, which I save to a data field.
How can I put some logic in my workflow to force it to error if the web service returned an error?
Because right now K2 is content to continue the workflow so long as the call was successful, but if the operation the web service was supposed to perform has an issue, I want the workflow to break. So I can "retry" it in process management when we fix the issue.
Thanks!