As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello, referring to this documentation: https://doc.nuxeo.com/nxdoc/work-and-workmanager/ It indicates the ability to have retryable works. However, searching github for the referenced methods -- retryableWork() and rollbackAndRetryTransaction() -- I cannot find these in the repository. Please point me in the right direction. Thanks.
retryableWork()
rollbackAndRetryTransaction()
This has since been refactored and simplified, and all Work instances deriving from AbstractWork are retryable and you just have to override getRetryCount. For cleanup on retry just use the regular cleanUp.
Work
AbstractWork
getRetryCount
cleanUp
Thanks for the report, we'll make a note to update the documentation.
rgr, thx