Skip to main content


 

Symptoms


How would I display a list of tasks assigned to the current user? Is there a certain table in the K2 database I'd need to create a smart object on?
 

Diagnoses


In which context do you wish to display this information?

1. In K2 Workspace, there is a user worklist on the home page:
http://help.k2.com/onlinehelp/k2blackpearl/userguide/current/webframe.html_Reference_-_K2_Workspace_Home_Page.html

2. If using Sharepoint 2010, you can add a K2 worklist Webpart to display tasks:
http://help.k2.com/onlinehelp/k2blackpearl/icg/current/webframe.html_install_addwebpart.html

3. If you are using Smartforms, you can use the Worklist control:
http://help.k2.com/onlinehelp/k2smartforms/controlpack/current/default.htm_worklist control/worklist_control.html

4. If you wish to display this on a custom ASPX form, you can use the K2 API and or K2 Web Services:

a. SourceCode.Workflow.Client
https://www.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm_Working_with_a_Process.html

b. Using Web Services (ASMX, WCF, REST):
http://help.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm_WorkflowRuntimeAPIs.htm?TocPath=Runtime%20APIs%20and%20Services|Workflow|_____0
 

Resolution

Currently, there is not a way to join the Worklist Control with relevant Smartobject data from another source. Perhaps usage of the 'Worklist Service Broker' from the K2 Community:

http://community.k2.com/t5/K2-blackpearl/Worklist-Service-Broker/ba-p/889

and perhaps some additional association/configuration can achieve this requirement. Please note that K2 Market brokers were not developed by K2 and as such is not supported.




 
Be the first to reply!

Reply