Does decisions create an implicit SQLtransaction?
Comments
-
Hi,
I created a simple stored procedure using SQL Server 2016 EE.
The implementation isAppendToLog() --takes less than 1 millisecond INSERT INTO Table1() --Takes around 30 seconds AppendToLog() --takes less than 1 millisecond INSERT INTO Table2() --Takes around 30 seconds AppendToLog() --takes less than 1 millisecond
Then I added it to Decisions, using create datatype/integration/add procedure.
Then I added an empty workflow just to execute to stor proc.I noticed that, as long as the workflow is running, the log table is not accessible.
I checked the locks and I saw an X-lock on the table.
I could read the log table from a different connection only changing the transaction isolation level to read uncommitted.I am not using the transaction steps
( https://documentation.decisions.com/docs/using-transaction-steps )I executed the stored procedure in SQL Server management studio and it didnt lock the log table.
I didnt see in the workflow on in the decisions-stored procedure any option about transactions.How can I prevent decisions from creating a transaction?
Thanks.
Regards,
Daniel -
did you ever find an answer to this?
-
I had a meeting with your developers.
They confirmed that the transactions are created implicitly.
They agreed that in situations like mines this is inappropriate.
New steps or options will be added in a future release.In the meantime, I found a workaround. I added table partitioning and guid to allow non-conflicting transactions.
Howdy, Stranger!
Categories
- 4.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 706 Forms
- 338 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions