Skip to main content


 

Symptoms


Is there a way to get the link for each users worklist item?
 

Diagnoses


As we can see, some SMO's already have a link for specific operations, like the "Process Instance" SMO where we have the "View Flow" link for each Instance.

Is there is a way to get the same information for the worklist items by giving the process instance ID and/or user ID as parameter/input?

The objective is to create a report (sent by email) with the tasks for each user, and we must add the direct link for the worklist item.

 

Resolution

The URL info is stored in your Server.WorklistHeader table.

What I would suggest is to use our Worklist API. Using the worklist Criteria filter according to the ProcInstID and return the information you need.
You can also use the worklist API to pull the serial number of the task directly and you can then modify the URL accordingly.

This will however require custom code, as there is no OOTB smartobject that can pull this information for you.

Here are a few links that might assist you regarding this.
http://help.k2.com/onlinehelp/k2blackpearl/userguide/4.6.4/webframe.html_reference_-_workspace_-_understanding_my_worklist.html
and
help.k2.com/files/4726 - Lists different Workflow API's you can use.




 
Be the first to reply!

Reply