Thread-Clear method

Use this method to clear the Thread pages for your current session, except for any pages specified in the KeepPages parameter.


The Thread-Clear method has a single fixed parameter and an array parameter.

Parameter Description
EmptyTaskLists Optional. To clear the three activity lists (Activity, Worklist, and Current), set this parameter to Y. If blank, the lists are not cleared.
KeepPages Optional. Enter any page names to retain.


If the EmptyTaskLists parameter is selected, all three activity lists are cleared.

Thread pages are deleted, except the pxThread page and those pages listed explicitly in the second parameter array.

After this method deletes the pages, it continues with the next activity step.

Checking the method status

This method updates the pxMethodStatus property only if it fails. See How to test method results using a transition.

Methods and instructions by function