Skip to main content
Nintex Community Menu Bar

Worklist item could not be opened. Unable to cast object of type 'System.String' to type 'SourceCode.Workflow.Client.User'.

  • Feb 27, 2015 9:58 PM UTC
  • 3 replies
  • 22 views
  • Translate All

Forum|alt.badge.img+5


 

Symptoms


We they were experiencing was an issue whereby two of their users could not submit a request via SmartForms to start a K2 workflow.
Worklist item could not be opened. Unable to cast object of type 'System.String' to type 'SourceCode.Workflow.Client.User'.

This only happens on a SmartForms Client event. Studio and K2 for Visual Studio worked fine
 

Diagnoses


It seems the issue is limited to SmartForms Client events and can only occur if the user that started the process has managed Users. (ie is the manager to some users in AD) and the Workflow server is set to use Managed Worklist.
 

Resolution

It seems the issue is limited to SmartForms Client events and can only occur if the user that started the process has managed Users. (ie is the manager to some users in AD) and the Workflow server is set to use Managed Worklist.

The Managed Worklist must be disabled to have this issue resolved

http://help.k2.com/onlinehelp/k2blackpearl/userguide/4.6.7/webframe.html_reference_-_workspace_-_managed_users.html




 

3 replies

Forum|alt.badge.img+2
  • Aug 24, 2015 6:36 PM UTC
What if you really need managed worklists and for managers to start workflows from a SmartForm? I am seeing this issue in K2 blackpearl 4.6.10 and require both managed worklists and managers to start workflows from a SmartForm.
Translate

Forum|alt.badge.img+2
  • Aug 31, 2015 12:31 PM UTC

There is a coldfix for this issue for 4.6.10.

Translate

Forum|alt.badge.img+8
  • Nintex Employee
  • Dec 21, 2016 6:47 AM UTC

Their is a standalone code fix for 4.7

Translate