Skip to main content
Nintex Community Menu Bar

Rollback a step in K2 in BlackPearl

  • April 6, 2009
  • 3 replies
  • 11 views

Forum|alt.badge.img+11
Is it possible to roll back a step in K2, if so , how this is done ? a code example will be more than enough.

3 replies

Forum|alt.badge.img+9
  • Nintex Partner
  • April 6, 2009

You can't rollback a step as this would require that the K2 server keep every activity into a long running transaction state.


 However, we normally work around it by providing a return action/outcome line to the previous activity as needed.


Forum|alt.badge.img+11
  • Author
  • April 6, 2009

Thanks for your fast reply.


The thing is that i found a rollback method in the smart objects which confused me alot.


Forum|alt.badge.img+9
  • Nintex Partner
  • April 7, 2009

If you are talking about rollback in SmartObjects, it probably is referring to the COM+ transaction context.


This is because you can execute 1 or more service method calls inside the SmartObject method.  So you can control the transactional context across the calls.


i.e. Rollback, Stop or Continue.