Skip to main content
Nintex Community Menu Bar
Solved

Destination User from SP Column containting multiple users

  • April 9, 2018
  • 2 replies
  • 25 views

Forum|alt.badge.img+10

A smartform is used to capture multiple approvers in a SP list column let's call it "Approvers". When workflow is  kicked off, destination users in a client activity should be set to users in Approvers column. This worked fine in SharePoint designer but not working in K2 Studio....

 

So I tried to create a data field in workflow in format domain-nameuserID1; domain-nameuserID2; domain-nameuserID3. I was able to create this variable but when I assigned this variable to destination user, worklist didn't get assigned. It looks like K2 studio doesn't like multiple users in one single line. I even hardcoded above strings in designer, it didn't work either. If I specify then in different lines, worklists get assigned. Since number of approvers are not fixed, assigning on separate lines is not an option. Please see attached.


Any ideas how I can set multiple destination users in K2 studio?

Thanks

Best answer by ajo

Hi,

How about using the Split inline function?

Let's say I have a Data Field of type string with a list of values delimited by a semi-colon:


You may refer to this documentation for more details. on the function

Hope this helps.

2 replies

Forum|alt.badge.img+12
  • Answer
  • April 10, 2018

Hi,

How about using the Split inline function?

Let's say I have a Data Field of type string with a list of values delimited by a semi-colon:


You may refer to this documentation for more details. on the function

Hope this helps.


Forum|alt.badge.img+10
  • Author
  • April 10, 2018

Thanks for your help! This worked