Skip to main content
Nintex Community Menu Bar

Default Client Event - Web Page

  • February 19, 2009
  • 2 replies
  • 13 views

Forum|alt.badge.img+7

Hello,


can anybody help me with information about this Event. What do the Web Page need to communicate with K2? How finishing the worklist item?


Is there any lab to this issue available?


Thanks

2 replies

Forum|alt.badge.img+5
  • February 19, 2009

Anja:


This question requires more information than is suitable to a post, but at a high level, the Default Client Event - Web Page is used for integrating K2 process with ASP.NET pages.  You will typically pass the process serial number (SN) in the query string (this is the default behaviour) and then load a user's actions onto the page by making a call to the worklist API and passing in the SN.  An example might look like:


 http://www.mycompany.com/hr/TravelRequest.aspx?SN=123_87


The SN in this case is what is needed to load a user's actions from the Worklist Item (i.e. Approved, Declined, etc.).  There is some sample code in the K2 Documentation on how to load and execute Actions.  It can be found at 'Start -> All Programs -> K2 blackpearl -> K2 blackpearl Documentation' at


'K2 Developer Reference -> Processes -> Accessing'


 Another frequently used feature on the Default Client Event is passing in a SmartObject ID into the query string as well.  You could then load data from a SmartObject that is applicable to the current process instance.


Forum|alt.badge.img+7
  • Author
  • February 26, 2009
Thanks for this start point - I guess I now on the right way.