Back Forward Thread

A PegaRULES Thread object is a named context of clipboard pages. It does not correspond to a UNIX or Windows operating system thread. Most processing for a requestor is single-threaded. The pxThread page is a named top-level clipboard page sometimes referred to as the thread page. The class for the page is Code-Pega-Thread.

Starting a new Thread with Launch

Ordinarily, each interactive user, accessing Process Commander through HTTP and a browser has only a single, dedicated process, and one Thread named STANDARD.

From the portal, you can start a new Thread by clicking the Launch link in the upper portion of the navigation panel. This lets you compare two work objects, in separate Internet Explorer windows.

Additional Threads are started when you use certain tools, or open additional portal windows from the Designer Studio.

Advanced capabilities

R-8914 03-04 MIRAT Advanced featureIf you include the property pyThreadUse in a URL sent with a  Submit   button (that is, an HTTP Post operation), Process Commander starts a second Thread with that name. The url JSP tag supports this capability.

TipWhen designing and implementing multiThread interactions for a browser-based user session, as a best practice, have each Thread that uses the Show-HTML method direct its HTML to a specific, named HTML frame on the browser window, to avoid confusion.

The PublicAPI facilities supporting Threads are part of this package:

com.pega.pegarules.pub.context

For more explanation about Threads, see Pega Developer Network article PDNPRKB-13872 Contrasting PRThread objects and Java threads. v4.1

Definitions clipboard, Clipboard tool, PublicAPI, user page
Related topics Show-HTML method
JavaServer Page tag — url
About the Clipboard tool
Understanding page names and reserved pages
Standard rules Atlas — Standard properties on the pxThread page (Code-Pega-Thread class)

Up Definitions — T