List collector in flow designer issue

Cirrus
Kilo Sage

Can anyone advise on this please.

We have a product record with a list collector field called business sectors

We also have a catalog item with a list collector variable called business sectors

The requirement is this:

When certain change conditions are met on the product record, we want to trigger a flow to 'submit a catalog request' and pass the business sector values from the form into the request. There is no issue with passing Product Name, Number or other string field information into the request. I just cannot find a way of setting the business sector list collector variable.

In Flow, I have a flow variable called business sector, and a set flow variable step which sets it as a comma separated list using 

var busect = fd_data.trigger.current.u_business_sector;
return busect;
The problem is I cannot then drag that flow variable data pill into the next step, nor can I drag it from the trigger record direct. It seems that no type of data pill is accepted (list, string, choice,array-string). From the attached screenshot, it's as if the flow wants me to define these business sector values directly in the flow rather than cross populating. Am I doing something wrong here
1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Cirrus 

I assume "Sector/s" variable is List Collector type

Out of the box Submit Catalog Item Request action doesn't support list collector

Submit Catalog Item Request action 

AnkurBawiskar_0-1761832194177.png

 

 

here is the link with the workaround

Unable to populate list collector type variable from flow designer 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Cirrus 

I assume "Sector/s" variable is List Collector type

Out of the box Submit Catalog Item Request action doesn't support list collector

Submit Catalog Item Request action 

AnkurBawiskar_0-1761832194177.png

 

 

here is the link with the workaround

Unable to populate list collector type variable from flow designer 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks Ankur. I created two lookup steps and then an update sc item option record immediately after the submit catalog request step. I hope Servicenow do something with list collectors soon as this seems a very roundabout way of passing the data