Help: Using the Clipboard tool |
Use the Clipboard tool when developing and debugging to:
Your clipboard resides in memory on the server. As you interact with the Clipboard tool at your workstation, you see a static snapshot copy. Choose Refresh from the Action menu at any time to update the snapshot.
Review page structure in the left panel
The left panel presents the entire clipboard as a tree, growing from the left.
Click a name or plus sign () to expand any node in the left panel to view the page structure it contains. Click again or click a minus sign () to collapse (hide) the pages within a page.
The clipboard contains two groups of pages:
User Pages
— Top-level pages created
by your normal processing, sorted alphabetically by page name.Declared Pages
— Read-only
declarative pages (created if necessary when accessed, defined by
declare pages rules (Rule-Declare-Pages rule
type).Three top-level pages are always present:
pxThread
— A single
system-maintained page known as the Thread page.pxRequestor
— A single
system-maintained page known as the requestor page, which
contains information about your access roles, RuleSet list, and
HTTP protocol parameters.pxProcess
— A single
system-maintained page known as the process page, which
contains information about the server's Java Virtual Machine
and operating system.Other top-level pages are created during authentication. These correspond to the organization, division, access group, application rule, and organization unit of the operator. These pages are not present for guest users. 3/10/06 clinic
Each top-level page may contain other pages that in turn may contain other pages, and so on. For most pages, the class of the page appears in parentheses after the page name and a single space. (For group and list properties, additional parentheses appear around subscripts.)
Every embedded page is defined by a property. Properties of mode
Page
( icon), Page Group
(), and Page List
() may appear as embedded on the clipboard.
Pages may contain properties (of any mode) and messages.
The branch structure of the tree in the left panel directly corresponds to the fully qualified name of a property reference. For example, the property reference:
pyWorkPage.pxFlow(VacationRequest).pyConfirmationNote
identifies a Single Value
property named
pyConfirmationNote
embedded on a page () named
pxFlow("VacationRequest")
, an element of a
Page Group
() named pxFlow
on the top-level user page
named pyWorkPage
.
The icon and red text identifies page messages.
Square brackets and the term [Refers to ..] indicate a reference property. The text in the square brackets identifies the non-reference page.
Review property values in the right panel
When you select a page in the left panel, all Value
List
, Value Group
, and Single Value
properties on that page appear in the right panel, sorted by property
name. Property messages appear in red text.
Use the left panel to click the page (either top-level or embedded) that contains the property.
You cannot directly search through the clipboard for a property.
If you don't know what page contains a property: DOCUMENTATION IS IN PROGRESS
TextEncrypted
properties are encrypted.
They appear as blank in this display.
To find properties containing a known text value:
Pages
box, select a page name or All
Pages
.Some clipboard values are Base64-encoded text representing binary objects, such as JPG image files, Word DOC files, or compiled programs. You can't search for a word that appears on the image or within the DOC file. B-14750
You cannot directly search the clipboard for a property name.
Below each page in the left panel, find the Page Messages link (). Click
Page Messages
to view any messages associated with
properties on that page. Generally, a message indicates that a
property value is invalid.
In addition to the Page Messages page, messages may appear
immediately below a property. For example, if you see
message(1)
below a property, the property value is not
valid.
Property messages appear in the right panel in red text.
The Clipboard display doesn't include properties with names
that start with pz
. These standard properties support
internal operations.
Using the Thread and Action menus
If your requestor has multiple threads, use the Thread menu to
select which Thread (and so which clipboard) you are viewing. Often,
your requestor has only the single thread Standard
.
5.4
Use the Action menu to test a rule without the need to create a test activity that creates the pages and properties expected as starting conditions for the rule.
Changing your clipboard contents or structure may affect the integrity of your system or your application results. Change clipboard values with this tool only in a debugging situation. Deleting pages or saving altered pages may introduce invalid data into the database.
Action menu options that update the clipboard
are available only to users who have the hold the
clipboardViewerUpdate
privilege. KHATV
8/17/06
Menu |
Description |
Refresh |
Select to cause the Clipboard tool to display the most current pages, properties, and values. |
Refresh Current Page |
C-2373 OSTMAE Select to cause the Clipboard tool to access and redisplay only a single aggregate property and its elements. The selected aggregate object in the left panel may be of
mode Information in the top-level page containing the currently selected property is refreshed, and the current property remains selected. The remainder of the clipboard display is not refreshed and possibly stale.
This operation is faster than
a complete If the property currently selected (or a containing page) was removed and is no longer present in the clipboard, a message appears. |
Find |
C-1815Choose
The search is performed on your current clipboard, which may be more up to date than the contents in the Clipboard tool display on your workstation. The display contents may be stale. You cannot search for blanks, non-printing characters or null values. Also, the text of Page-Message clipboard elements is not searched. |
Create Page |
After you choose Create Page, enter the page name and the class of the page into the resulting dialog box. You cannot create an embedded page. |
Update Page |
To update the contents of a top-level page, select the
page in the left panel and choose Update Page.
Enter one or more Click Update Page at the bottom of the panel to save your changes to the clipboard page on the server. This does not save the modified page to the PegaRULES database. You can't use the Update Page menu item on an embedded page or a declarative page. REMOVED Process Commander does not validate property names or values you enter. B-18755
You can't use this menu
item to enter values for a |
Delete Page |
To delete a page, select a page in the left panel and
choose You can't delete a declarative page. Tested 5/29/07 |
Execute Activity |
Select a page in the left panel and click A dialog displays the class of the selected page. Enter the Activity Name key part. Click Parameters to enter values for parameters. |
Save Page |
Select a page and click Save Page to save the page to the database. Process Commander does not validate properties on the page. This action can introduce invalid data into the database. B-4398 Clinic You can't save a declarative page. |
Start Flow |
To start execution of a flow, select a page (with a class derived from the Work- base class B-14951) and choose Start Flow. A dialog box appears. Select a Flow Type (second key part) using SmartPrompt. Enter any parameters that the flow needs. BUG-3918 |
Analyze Clipboard |
To review a tabular report showing the approximate size in kilobytes of each clipboard page, the page name and class, the number of accesses (read or update), and date and time of the last access, and passivation history. V5.5 GRP-369 See Understanding passivation and requestor timeouts. If the Collect Details mode is enabled, the display contains stack traces showing how pages were created or deleted and historical information about pages no longer on the clipboard. ERNSG 11/10/08 TASK-2787 |
Collect Details |
Click to enable, or disable, automatic collection of detailed clipboard size and access information. A check mark next to this menu option indicates that data collection is active. A pop-up window confirms your menu action. While enabled, select the Analyze Clipboard option to review the size and use of each page on the clipboard, including pages that were removed during the data collection period. ERNSG 11/10/08 TASK-2787 To eliminate unnecessary processing, disable this facility except when you need the additional detail it provides. |
As you work, the system creates and updates clipboard pages related to your work. However, these changes are not automatically reflected in the Clipboard tool display. Select Refresh from the Action menu to send the latest clipboard contents to your workstation.
The Clipboard display doesn't include properties with names
that start with pz
. These standard properties support
internal system operations.
To see pz
properties and other clipboard entries that
aren't truly properties, right-click in the left panel and select
Show XML. To see the contents of unnamed pages, use the
Tracer.
The primary pages of some activities are not named and don't appear on the Clipboard display. The parameter page of an activity is not part of the clipboard. Use the Tracer to view these pages.
Properties of mode Java Object
, Java Object
Group
, and Java Object List
do not appear on the
Clipboard display.