DOCUMENT_DESTROYED_EXCEPTION: Cannot perform invoke. BrokerId 180 not bound to any active document
WaitForCreate for a webpage is true, but keeps getting DocumentDestroyedException. In my experience, this exception should occur only if a webpage is not created. My automation logic is this: WaitForCreate if true, ExecuteScript. Note, this is an intermittent error.
Generally speaking, I have seen this occur when the control you are using is in the process of being destroyed, or is otherwise getting destroyed without informing the adapter. Some pages have soft refreshes that occur where the controls are reloaded without the page. Check to see if anything you are doing to the page might cause the controls to be refreshed and ensure you are waiting for that to complete. You might also need to catch this exception and then rematch the page (using the Rematch method).
In addition to Thomas suggestion, There is a known bug in the product which has been identified recently and it was fixed in Pega Robotics V22.214.171.124 and higher version. Hence, to confirm the issue you are facing is a bug or not, please add the verbose logs or try to upgrade to the latest versions and test the scenario.