Skip to main content
Solved

Looping works when "run to this" but not when running the entire workspace


akesoderqvist
Contributor
Forum|alt.badge.img+4

Hi,

A colleague and I are working on a script for a client. In the script, we have a simple custom transformer that performs a loop to match some attributes in the correct order. Its basically just a feature merger with a loop:

 

If I run the entire workspace the loops get stuck and keep iterating forever. However if we run the workspace with for example "run to this" far down the stream, it has no problem and the custom transformer finishes after a few seconds.

Does anyone have a clue why this is happening and what we could do to prevent it?

Best regards

Best answer by akesoderqvist

AliAtSafe wrote:

Hi, ​@akesoderqvist.

Thanks for posting to the community! Thanks for explaining the issue in detail. Are you able to detail how you setup your loop?

Thanks!

Hi, sorry for my late answer. We solved it, just by running the workspace on another computer it worked without any issue, then it worked on the orginal computer aswell after just re-saving the file. Have no idea what the error was, but im glad it works now :) Seems like it should be some kind of cache problem then? but i did purge all temporary data, run without feature caching and so on before without any luck. 

Thanks for reaching out. 

View original
Did this help you find an answer to your question?

2 replies

AliAtSafe
Safer
Forum|alt.badge.img+19
  • Safer
  • March 6, 2025

Hi, ​@akesoderqvist.

Thanks for posting to the community! Thanks for explaining the issue in detail. Are you able to detail how you setup your loop?

Thanks!


akesoderqvist
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • Best Answer
  • March 11, 2025
AliAtSafe wrote:

Hi, ​@akesoderqvist.

Thanks for posting to the community! Thanks for explaining the issue in detail. Are you able to detail how you setup your loop?

Thanks!

Hi, sorry for my late answer. We solved it, just by running the workspace on another computer it worked without any issue, then it worked on the orginal computer aswell after just re-saving the file. Have no idea what the error was, but im glad it works now :) Seems like it should be some kind of cache problem then? but i did purge all temporary data, run without feature caching and so on before without any luck. 

Thanks for reaching out. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings