K2 OpenWorkList Item link is not proper

  • 16 January 2017
  • 1 reply
  • 3 views

Hi,

 

My customer is using K2 black pearl 2.0 with InfoPath form in SharePoint platform. We have may set of workflows, smart objects. One of the workflow sending an email with OpenWorkList Item link. When user opens the link the task assigned to that user and locked from other users.

 

But the Open Worklist Item link missing the InfoPath library name in query string. It is very inconsistent. I have checked the configuration, in K2 workflow the value is fetched from WorkListItem Instance(Browser Workflow Context) which contains WorkListItem Link.

 

Can somebody tell me how WorkListItem Link configured, are there any steps available to reconfigure the link.

 

Thanks,

K Senthilrajan

 


1 reply

Badge +8

Hello,


 


Sorry for the late reponse. 


 


The link is always the page URL you provide to the activity + ?sn=<procInstId>_<activityInstId> where procInstId is the ID of your process instance and activityInstId is the activity instance ID for your activity.  You have access to these two properties within the same activity in which your client event resides.
 
For example, if your form URL is http://server/app/form.aspx, your worklist item link might be http://server/app/form.aspx?sn=921_75.


 


Let me know if that answers your question.


 


David Aerne


K2 Technical Support

Reply