I am now implementing a cron job based on the scond part of the following tutorial (Scheduled Jobs | Alfresco Documentation ) . The Action Based cronjob is using a TransactionHelper in the parent class (
org.alfresco.repo.action.scheduled.CronScheduledQueryBasedTemplateActionDefinition)
. My question is now if Alfresco supports the start of a second transaction within the executeImpl function in the implementation class of this Action.
Thank you for your information in advance.
Regards
Kaffi
Solved! Go to Solution.
Hi,
It is possible to create new transaction whilst within an existing transaction. However, they're essentially two separate transactions (not nested) that cannot see each others isolated DB changes. Do you really need a new transaction ?
Regards,
Jan
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.