retryable work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2017 07:46 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2017 08:09 AM
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
.
Thanks for the report, we'll make a note to update the documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2017 08:25 AM
rgr, thx
