I want to save the recharge expired subscription customer emails in google sheet. I have created a workflow. But it’s saved approx 10000 email. After that loop is running infinitely and that doesn’t through any error. I need to manually stop the workflow.
can you please let me know how can I fix this issue or you can suggest the workflow to though error.
Thanks
Hi @LC_Dev_Team,
Do you have a sample workflow you can share? There may be a better way to solve the issue instead of looping.
Best,
Robert
Yes @rbreen .
I make this.
Can you insert the workflow into a code block here?
sure I have created two workflows one is main and another is sub-workflow.
main flow:
Sub-Workflow:
Please check above both flows.
Thanks
An image is helpful, but I need the actual workflow. Can you copy the workflow and paste it into a code block?
Please check workflow and help me how can I memory leaking and infinite loop issue.
its hard to tell because I don thave access to the data. Here’s some thoughts.
-
while you are investigating the issue, here’s a way to force the workflow to stop after a certain amount of minutes. Could be a good solution while you try and figure out the endless loop.
-
You could set some static maximum number of loops with a counter and end if it goes past a certain number
-
wish I could help more with the underlying issue; its difficult without the data.
Hope this helps!
Best,
Robert
Thank you
However, I’m unable to set a maximum static time for the loop because the subscription schedule in Recharge is not fixed. This makes it difficult to define a consistent end condition.
I would like to investigate further and understand why the loop continues running indefinitely. Identifying the root cause of the infinite loop will help in applying a proper fix or workaround.
can you please help to fix the issue?
Can you please help to fix the issue? I have shared all details below like workflow.
Thanks