Is there any utility function to remove all pages in Pagelist without looping. I searched questions but they were all related to looping and removing, I want some efficient way to remove all pages at once. Please suggest.
There is no need to loop all pages, if you are using activity in that we are having a method in name of Property-Remove. You can use this method for removing page-list pages entirely. When you are using this method it will ask for Property name in that provide the Page-List property which you are using, then automatically all pages from the Page-List will get removed.
If you are using Data Transform, in that also you can achieve the same functionality by using Remove method.