Hi,
I have made a few changes to the agent to ensure that all JSON objects were resilient and consistent throughout the agent, hoping that might help. I have ensured that all Run Workflow blocks are set to zero retries and ignore failures; and except for the deepest one, they’re all set to sequential execution mode. The “Maximum Operations per Invocation is set at the top value of 2000. This latest agent is newly-published (and newly-named) to make sure that all these settings are applied correctly.
I am still seeing the infinite loop error in multiple places and am still seeing sub-workflows restart from the first array element.
Agent ID is: f6eb9ed9-df5a-4c06-a609-267ea13458f7
Agent workflow structure is:
Main
BusinessDetails (no problems here)
EnrichBusiness (all the problems happen from here, down)DeepGoogleSearch
SmartScrape
Here are the logs everywhere the infinite loop is flagged – note that it isn’t always in the same workflow. I copied these from the bottom, up, of the run list in the left panel (most recent at end, below). Very odd that the timestamps are all over the place, even though all the workflows are in sequential execution mode.
## Working with Element [0] in the EnrichBusiness flow.
1 Action started on CloudRunnerInstance ID: cq6pm at Sep 18, 2025 9:19:54.468 AM PDT
2 Starting workflow: DeepGoogleSearch
3 Infinite loop prevention: The same run workflow block can not be invoked more than once in a single run
Run Failed: Execution error
## Working with Element [1] in the EnrichBusiness flow.
1 Action started on CloudRunnerInstance ID: pw2st at Sep 18, 2025 9:16:01.849 AM PDT
2 Starting workflow: DeepGoogleSearch
3 Infinite loop prevention: The same run workflow block can not be invoked more than once in a single run
Run Failed: Execution error
1 Action started on CloudRunnerInstance ID: pw2st at Sep 18, 2025 9:16:02.434 AM PDT
2 Starting workflow: SmartScrape
3 Infinite loop prevention: The same run workflow block can not be invoked more than once in a single run
Run Failed: Execution error
1 Action started on CloudRunnerInstance ID: pw2st at Sep 18, 2025 9:17:08.466 AM PDT
2 Starting workflow: SmartScrape
3 Infinite loop prevention: The same run workflow block can not be invoked more than once in a single run
Run Failed: Execution error
## Working with Element [2] in the EnrichBusiness flow.
1 Action started on CloudRunnerInstance ID: cq6pm at Sep 18, 2025 9:20:00.754 AM PDT
2 Starting workflow: DeepGoogleSearch
3 Infinite loop prevention: The same run workflow block can not be invoked more than once in a single run
Run Failed: Execution error
1 Action started on CloudRunnerInstance ID: cq6pm at Sep 18, 2025 9:19:48.736 AM PDT
2 Starting workflow: SmartScrape
3 Infinite loop prevention: The same run workflow block can not be invoked more than once in a single run
Run Failed: Execution error
1 Action started on CloudRunnerInstance ID: cq6pm at Sep 18, 2025 9:19:48.297 AM PDT
2 Starting workflow: SmartScrape
3 Infinite loop prevention: The same run workflow block can not be invoked more than once in a single run
Run Failed: Execution error
The EnrichBusiness flow was invoked with an array of seven elements. They executed in this order, according to the run log (even though every flow is set to zero retries):
0 → 1 → 2 → 3 → 0 → 0:
[Element 0]: Action started on CloudRunnerInstance ID: vmwhb at Sep 18, 2025 8:41:20.679 AM PDT
[Element 1]: Action started on CloudRunnerInstance ID: vmwhb at Sep 18, 2025 8:48:44.673 AM PDT
[Element 2]: Action started on CloudRunnerInstance ID: vmwhb at Sep 18, 2025 8:57:57.012 AM PDT
[Element 3]: Action started on CloudRunnerInstance ID: vmwhb at Sep 18, 2025 9:04:16.772 AM PDT
[Element 0]: Action started on CloudRunnerInstance ID: 2twf4 at Sep 18, 2025 9:11:48.394 AM PDT
[Element 0]: Action started on CloudRunnerInstance ID: pw2st at Sep 18, 2025 9:16:06.618 AM PDT
A separate (but maybe related) issue: There is a call to a JavaScript function that works 99.5% of the time. This is a simple function that counts characters in a text string. But sometimes it throws a weird error:
1 Action started on CloudRunnerInstance ID: vmwhb at Sep 18, 2025 8:55:30.130 AM PDT
2 Resolving variables
3 Resolved function configuration object: JSON
4 Loading code
5 Provisioning Sandbox execution enviroment
6 Preparing JavaScript runtime (Node v22.15.0 LTS)
7 Executing “ScrapeSize JS”
8 Error: SyntaxError: Unexpected token ‘<’, “ <h”… is not valid JSON
Run Failed: Execution error