Task is successfully redirected to group, but group members do not see task item

  • 16 February 2021
  • 0 replies
  • 8 views

Userlevel 5
Badge +20
 

Task is successfully redirected to group, but group members do not see task item

kbt144081

PRODUCT
K2 blackpearl
BASED ON
K2 blackpearl (all)
SEE ALSO
 
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

A task can be successfully redirected to a group using the WorkflowManagementServer.RedirectWorklistItem() API, however the group's members do not see this task item in their worklist.

Symptoms

This is currently expected behavior.  It is currently not possible to redirect/delegate a task item to another group/role; only a user will work.

 

Although usage of the WorkflowManagementServer.RedirectWorklistItem(fromUserName, toUserName, procInstID, actInstDestID, worklistItemID) method will allow the task to be redirected to any sort of string value and the Management Worklist will show it being assigned to this string; the method is expecting that this string is a valid user in the K2FQN format (K2:DOMAINusername) or (SecurityLabelName:username) for the specified user to be able to see the task item.

 

This is similar to the OOTB Redirect behavior seen for the SharePoint Worklist Webpart, K2 Workspace worklist, or K2 SmartForms Worklist control; such that only a user can be selected.

Resolution

As the RedirectWorklistItem() method is expecting a user object, you will need to validate that the string value is a valid user object prior to passing it into the method.

An idea can also be logged/upvoted at (https://ideas.k2.com/) to possibly support redirecting to a group/role in the future.


0 replies

Be the first to reply!

Reply