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.

For Each is keep getting empty in my Flow

shaik_irfan
Tera Guru

Hi,

 

I have a flow designer whenever i save or published For each is deleted and it says No data available. 

 

I am getting Array object from a Sub flow and when putting in a For each to read the data, it works one time after a while For each gets empty.

 

find_real_file.png

 
4 REPLIES 4

VaranAwesomenow
Mega Sage

Is data present in the table on which for each is being performed ? does subflow return Array with values  ?

It does have the array with values everytime it trigges

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

please share complete flow details

Regards
Ankur

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

@Ankur Bawiskar 

 

This is the subflow, which create a data source and returns the the sys id of the data source and import set back to output

 

find_real_file.png

 

 

find_real_file.png

 

 

I get the output in Data Load which i keeping in For Each whcih is getting after couple of request