11-23-2017 10:13 AM
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
11-23-2017 06:05 PM
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
11-23-2017 06:05 PM
Explore our Alfresco products with the links below. Use labels to filter content by product module.