Skip to main content
Nintex Community Menu Bar

Open Next WorkList using c# code

  • July 23, 2007
  • 3 replies
  • 12 views

Forum|alt.badge.img+1

Hi Guys,

Once I finish my worklist item, K2 moves on to next activity and I would like to open [Just one exceptional case where I have to do this bacuase I cant merge these to activities togather in to one task] this new activity for current process..

so I can redirect my user to new form.... 

 

Any Idea Guys...

 

Many thanks 

3 replies

Forum|alt.badge.img+8
  • July 24, 2007

When you call the K2Item.Finish() method, you will have to finish it Synchronously:
K2Item.Finish(true);
This will force K2 Server to execute all the activities and rules until it hits a Async server event or a client event before passing focus back to the code that called the Finish method.



You can then open the user's Worklist again, filtering the items using the folio or process instance ID and redirect the user to the new page directly. There are a few posts on this I believe.


Forum|alt.badge.img+9
  • Nintex Partner
  • July 24, 2007

As per DC's suggestion, you can check out this previous forum post:


   http://k2underground.com/forums/post/13841.aspx


This provides an example of how to use K2 to direct web page navigation. 


 


Forum|alt.badge.img+1
  • Author
  • July 24, 2007
Thanks m8...