List collector not working with Workflow studio

rafaelalves4337
Tera Contributor

Folks,

 

I've created a form to add users to a group.

 

The user variable is a list collector, because they can select more than one user.

 

The problem is when I created the workflow, it's not reading the list collector variable, I already separated "for each" with comma, if I change the variable from list collector to Reference, it works fine, but it must be list collector to select more users.

 

The way it's now, it's creating a blank user inside the group (last picture).

 

What Am I doing wrong?

 

Screenshot_183.jpgScreenshot_182.jpgScreenshot_181.jpgScreenshot_184.jpg

1 ACCEPTED SOLUTION

Murthy Ch
Giga Sage

Hi @rafaelalves4337 

Here is the article link below which expains about the same topic/use-case:

https://www.servicenow.com/community/developer-blog/using-list-collector-in-flow-designer-for-each-l... 

Thanks,
Murthy

View solution in original post

2 REPLIES 2

Murthy Ch
Giga Sage

Hi @rafaelalves4337 

Here is the article link below which expains about the same topic/use-case:

https://www.servicenow.com/community/developer-blog/using-list-collector-in-flow-designer-for-each-l... 

Thanks,
Murthy

Hey @Murthy Ch , thank you, let me read it!!!