Hello!
I have a task, which is to download the price list from a CSV file to one of the warehouses. I organized a tree through IElementAttachingProvider and attached to the tree action Workflow based on FormWizard many steps (select warehouse, upload CSV, parsing, matching fields, and load). If the price list is small, then everything is OK. If the price list of a large (~ 40k positions) then:
a) if load process framed with
using (TransactionScope transactionScope = TransactionsFacade.CreateNewScope(TimeSpan.FromHours(6.0))) { ... }
console stay LogOff after some time (~160secs), and redirected to login form
b) without explicit transaction scope after some time Wizard form was closed without final step and error occured about "transaction complete but not disposed".
Any data was not saved.
In this case, no errors have been writed into log (also if I clearly wrote this before (and into) loading process)
Manipulation with Compensation Sequence, Transaction Compensation Sequence in workflow its not have any positive result.
Have ideas?
I have a task, which is to download the price list from a CSV file to one of the warehouses. I organized a tree through IElementAttachingProvider and attached to the tree action Workflow based on FormWizard many steps (select warehouse, upload CSV, parsing, matching fields, and load). If the price list is small, then everything is OK. If the price list of a large (~ 40k positions) then:
a) if load process framed with
using (TransactionScope transactionScope = TransactionsFacade.CreateNewScope(TimeSpan.FromHours(6.0))) { ... }
console stay LogOff after some time (~160secs), and redirected to login form
b) without explicit transaction scope after some time Wizard form was closed without final step and error occured about "transaction complete but not disposed".
Any data was not saved.
In this case, no errors have been writed into log (also if I clearly wrote this before (and into) loading process)
Manipulation with Compensation Sequence, Transaction Compensation Sequence in workflow its not have any positive result.
Have ideas?