Skip to main content

How to manage Transactions in smartforms

  • 3 April 2018
  • 1 reply
  • 1 view

My Smartforms having 3 views (header, detail, attachment)

 

I need to manage failure and successful transaction during submit.

 

Start Transaction

Execute view1.. create

Execute view2.. create

Execute view3.. create

 

if @Status = Success

   Commit Transaction

else (failed)

   Rollback

 

for your guidance as I am new to k2

 

Hi,


 


I assumed you mean transaction for Smartforms rules. I don’t believe that Smartforms rules execution is transactional. My guess is that you have to build transaction outside the Smartforms and call that via SmartObject.


Transaction Support in Service Instances


http://help.k2.com/onlinehelp/K2blackpearl/DevRef/current/default.htm#Transaction_Support_in_ServiceInstances.html


Reply