LinkedIn
Copied!

Table of Contents

Thread-Clear method

Version:

Only available versions of this content are shown in the dropdown

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 Optional. 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.

Methods and instructions by function

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.