The following example demonstrates clearning the pages from a GlobalCapture process.
Process.Document.ClearPages();
CODE
Remarks
Throws an InvalidOperationException if called on a GlobalAction process.
It is generally not advisable to to clear the pages of a process unless you intend on replacing them with at least 1 new page. Processes may error if the workflow contains nodes that expect document pages to exist.
JavaScript errors detected
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.