retryable work

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.

1 votes

1 answers

1588 views

ANSWER



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.

1 votes



rgr, thx
06/09/2017