Incrementing issue

Hello!
I’m having really strange issue with incrementing value. The activity is really simple: take integer value from datatable (starting with 0), increment it by +1, and add as new data row to the same datatable. Then it’s operating in loop, if integer is more than 3, workflow need to stop adding new rows to the dt.
And now - it’s working perfectly on my development machine, I debug it step by step, everything is neat.
When I deployed process on production machine and run - it’s stuck in infinite loop for some reason. I added some logs message to check the behavior of integer increment, and for some reason it’s always adding ‘0’ to the dt, like the incrementing is not working properly. I’m even logging this very variable number before adding to dt, and log shows +1 number (correct!), but therefore after add data row - dt gets row with ‘0’ still.
With which package update maybe I can try to fix such major issue? System.Activities or another one?
Here are my logs from dev and prod environment, doing literally the same action with one item and increment system:

we would recommend marking with some additional logs the different paths to get more insights on the infinite loop.
When also marking the transitions it can be easier checked if the not a wrong transition/trigger condition is sending the flow into an unknown state

@olgu
Hello! It seems like you are facing a deployment issue between your development and production environments. While updating packages might help in some cases, it’s essential to ensure that both environments are consistent in terms of the underlying infrastructure, dependencies, and runtime configurations.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.