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.

Unable to create serializable iterator

Allen12
Tera Guru

I am using a List Collector in a Catalog Item, when I do a For Each in Flow Designer I get this error "Unable to create serializable iterator for items:......". 

1 ACCEPTED SOLUTION

Adding screenshot , this will help you. 

 

user flow.PNG

View solution in original post

8 REPLIES 8

Harsh Vardhan
Giga Patron

@Allen12  I think you are missing two piece of action to get it solve.  

  1. Look UP User Records.
  2. Get Catalog Variables from

Please find the screenshot below. I tried and it worked. Also adding one HI article, this will also help you. 

 

flow action.PNG 

Test Result

 

flow test.PNG

 

Unable to use a list collector variable in the Flow Designer 'For Loop' action 

 

Hope it will help you.

 

Thanks,

Harsh

 

Allen12_0-1717705503670.png

I found the same article and got some forward motion, error is gone, however the records are not being found.

 

Allen12_1-1717705586733.png

 

@Allen12 You need to lookup on table which your list collector referencing.

 

eg:  My List collector referencing to User table, so my lookup table will be sys_user and filter will be 

sys_id | IS One OF | List Collector variable name.

 

Thanks,

Harsh 

Hi @Harsh Vardhan 

I have created the same but its not returning sys id if I use sys id is one of variable.user.sys_id