Flow - For Each - "Error: Invalid assignment left-hand side."

apjohn2
Mega Sage

Hoping someone can give me advice on an error I'm getting in a Flow, in a For Each loop. (This is in Utah.)

 

The concept is simple. It's a catalog item request trigger. One of the variables is an employee number value. The Look Up Records action uses this and searches the user table.

 

If more than one user is found, a For Each loop is needed to determine certain things about each of those user records. Problem is the For Each loop itself is just erroring out like this. Doesn't make any sense to me and I can't see anything wrong. Searching Gulag gives me very few hits, and none relevant enough to be useful.

 

apjohn2_0-1712174671347.png

 

Any advice would be appreciated. Thank you!

 

6 REPLIES 6

As requested. 🙂

apjohn2_1-1712667776964.png

 

 

Thanks @apjohn2

Configuration-wise, everything looks correct, and even tested it in my PDI which is working fine.

 

A few things to try/note:

  • Try a different employee number to fetch records
  • Delete and re-create the Action or test with a new Flow
  • In Action #8, shouldn't it be 'is greater than or is 1'? Also does 'anzahl' mean the same thing as count? Couldn't help but notice it in the screenshot
  • What is the scope of the Flow?

Cheers