Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Help with list collector field.

Abhijit Das7
Tera Expert

Hi Everyone,

 

I have a list collector field on catalog item which is referenced to custom table which has 10 values. I have to create a flow, based on number of choices selected it should create number of tasks.

 

For example in one scenario , if I select 4 choices out of 10 then flow should create 4 tasks. When someone selects 6 choices out of 10 then flow should create 6 tasks.

 

I have not used List collector field much. Please suggest something for the scenario.

 

Thanks in advance

4 REPLIES 4

Sujatha V M
Kilo Patron
Kilo Patron

@Abhijit Das7  : Please refer the below link 

 

https://www.servicenow.com/community/itsm-forum/generating-tasks-from-a-list-collector-in-a-service-...

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Hi @Sujatha V M ,

 

That is for workflow, I want to use it for Flow designer. 

 

Thanks in advance.

@Abhijit Das7  Please refer this for flow designer : 

 

https://www.servicenow.com/community/developer-forum/looping-through-a-list-collector-to-have-catalo...

 

Please mark this as helpful and accept it as a solution if this resolves your query.

Thanks,

Sujatha V.M.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Ram S
Tera Contributor

@Abhijit Das7  You can use 'For Each Item in' flow activity on that choice variable and then use 'Create Catalog Task' or 'Custom action' in case of a custom table to create tasks.