We're trying to implement record locking using @Version JPA. Using the expression a!writetodatastoreentity() will throw an error in designer but not in the actual user interface.
There's nothing similar to even the onError: {} parameter in the process model based option.
Are there any suggestions for capturing a failure and altering the process path accordingly?
Thanks in advance
Discussion posts and replies are publicly visible
Whilst using the JPA @Version is one method for implementing record locking it's not an ideal solution for the very reasons you've highlighted. If you want to lock records AND provide a meaningful User Experience then you'd be better of designing and implementing your own pessimistic record locking solution:
The beauty of this is that the End User can see that a lock exists AND who took it and WHEN.
S>