You are here: Reference > Activity methods > Thread-Clear

  Thread-Clear method

Methods and instructions by function

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

Parameters

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 add rowOptional. Enter any page names to retain.

Results

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.

Definitions activity list, Thread page

UpMethods and instructions by function