I’m still running into the issue where function block parameters are “not found” when calling a multi-step function inside a loop. It looks very similar to what others reported here:
I've currently duplicated the function BY HAND because simply using the duplicate function obviously copies the error in it. Hopefully we can tackle this issue and fix it
Hi @devopser, does this only occur when using the function within a loop block? What happens if you test the function or you create a function block and pass in similar inputs?
Just wanted to follow up that I was able to reproduce this on my end. I personally found it specifically occurred with the loop block and that the function itself worked fine otherwise. Hopefully we can get a fix for it!
I'm having exactly the same issue. The function works correctly but the loop won't run it and gives this error: Error evaluating ProcessBatchesUI: Iteration 0 failed: "Function block parameter 322afddc-b293-401c-9850-bd2fe1e648f2 not found"
If you have skip errors in the loop, it just runs through the iterations and does nothing.
I tried duplicating the function, and I deleted all parameters and recreated, but that doesn't work either.
Assuming the fix is to recreate the function by hand?
it’s crazy this happened, do we have a root cause / know that this won’t happen randomly again? Took me the whole afternoon to find this solution…
I was working with our engineering team and it seems to be related to Loop Blocks, I would for the time being advise working without loop blocks and instead using for loops inside of code blocks while we work on fixing this.
It seems that loop blocks can very easily get into a corrupted state where they need to be rebuilt when incorrectly giving an error. I will add your +1 to this ticket and keep this thread updated with any news I hear from the engineering team.