Professional Documents
Culture Documents
7 2
8 90
Definition, Usage and Navigation
:2
ID
te
ia
oc
ss
A
C3: Protected
About the Author
2
Version and Date: BPM/PPT/0810/1.0
7
8 90
:2
ID
te
ia
oc
ss
Hands on
Questions Tools Exercise
7 2
8 90
Coding Test Your
Reference
:2
Standards Understanding
ID
te
ia
A Welcome
Contacts
oc
Demonstration Break
ss
Introduction:
The Process Commander logical layer for storing data between an application and the
2
Process Commander keeps XML-based structures called pages in memory, and pages
7
contain property-value pairs.
90
A page is an instance of a class rule, and the page holds the current property values for
8
:2
that instance.
ID
te
ia
oc
ss
Objective:
After completing this chapter you will be able to know:
2
Clipboard Structure and Page Scopes
7
90
Use of Clipboard tool
pyWorkPage
oc
pyWorkCover
ss
The clipboard is managed as a group of pages, which are arranged into sets of
decreasing scope.
2
Process Commander has three clipboard page scopes.
7
90
Process Scope - shared globally across all requestors on a system
Requestor
8
Scope - shared among all the separate Threads within one requestor
:2
connection
ID
2
Contains system-wide state and configuration information at runtime.
7
Example: – pxSystem, pxProcess.
8 90
:2
ID
te
ia
oc
ss
7 2
requestor.
90
Example - pxRequestor.
8
:2
ID
te
ia
oc
ss
2
Memory for these pages are managed automatically according to Java rules.
7
Example: - pxThread
8 90
:2
ID
te
ia
oc
ss
2
several methods.
7
90
If you log out, any user pages not
saved to the PegaRULES
8
database are gone from memory.
:2
E.g. –
ID
pyWorkPage,newAssignPage
te
ia
oc
ss
2
The Clipboard tool displays two panels:
7
The left panel displays the page
90
structures, in a hierarchical tree format.
8
The right panel displays the value of
:2
Single Value, Value List, and Value
ID
7 2
to expand any node.
90
Click a minus sign [ ] to
collapse. 8
:2
If one of the User Pages
ID
this panel
oc
ss
2
appear in the right panel, sorted by
7
90
property name.
8
Property messages appear in red text.
:2
ID
te
ia
oc
ss
7 2
Measuring the size of the clipboard
90
The Clipboard display shows the contents of the clipboard, but not its size in
bytes.
8
:2
Large clipboards can affect performance.
ID
You can use the Performance tool to see the size of your clipboard in bytes.
te
ia
oc
ss
7 2
Properties of mode Java Object, Java Object Group, and Java Object List
90
do not appear on the Clipboard tool display.
Only ‘Named’ pages are displayed in the Clipboard display.
8
:2
The primary pages of some activities are not named and don't appear
on the Clipboard display.
ID
7 2
to create a test activity that creates the pages and
90
properties expected as starting conditions for the
rule.
8
:2
Action menu options that update the clipboard are
ID
clipboardViewerUpdate privilege.
ia
oc
ss
Menu Description
Select to cause the Clipboard tool to display the most
Refresh
current pages, properties, and values.
2
Select to cause the Clipboard tool to access and redisplay
7
only a single aggregate property and its elements.
90
Refresh
Current Page This operation is faster than a complete Refresh operation,
8
but may result in an inconsistent representation of your
:2
clipboard contents.
ID
null values.
ss
Menu Description
After you choose Create Page, enter the page name and
Create Page
the class of the page into the resulting dialog box.
2
Select the page in the left panel and choose Update Page.
7
Enter one or more Single Value property references and a
90
value for each, or update the values of properties already
Update Page listed.
8
:2
You can't use the Update Page menu item on an
ID
Delete Page
dialog box.
oc
ss
Menu Description
Select a page in the left panel and click Execute Activity.
The selected page becomes the primary page for the
2
activity.
Execute Activity
7
A dialog displays the class of the selected page. Enter the
90
Activity Name key part. Click Parameters to enter
8
values for parameters.
:2
Select a page and click Save Page to save the page to the
ID
Flow.
ss
Menu Description
2
clipboard page, the page name and class, the number of accesses (read or
7
update), and date and time of the last access, and passivation history. If the
90
Analyze Clipboard
Collect Details mode is enabled, the display contains stack traces showing how
pages were created or deleted and historical information about pages no
8
:2
longer on the clipboard.
ID
access information. A check mark next to this menu option indicates that
ia
2
document for a clipboard page.
7
Open the Clipboard tool.
90
In the left panel, click to select the desired
page.
8
:2
Right-click on the page name. A menu with an
ID
pyWorkPage
By convention in standard flow processing activities, when a single
(non-cover) work object is opened onto the clipboard, the page is
named pyWorkPage.
2
Standard properties of Work- class get populated here.
7
90
Many OOB default activities use this page as reference.
DO NOT name a page with this name.
8
:2
This page opens up by default as you open up the Clipboard tool.
ID
pyCoverPage
te
7 2
8 90
:2
ID
te
ia
oc
ss
2
4. Where do you open the Clipboard tool from?
7
90
5. Do you need a special privilege to open up Clipboard tool?
8. How do you check the properties in a parameter page using the Clipboard tool?
te
7 2
8 90
:2
ID
te
ia
oc
ss
Always take care of removing clipboard pages when you think its not needed any
more.
2
You can easily monitor the same while you are developing an application.
7
90
Count the number of user pages in the Clipboard.
8
Execute a specific component that you have built.
:2
Go back to the Clipboard tool.
ID
Again count the number of pages. It should be atleast equal if not less than what you had
te
counted in step 1.
ia
Analyze the code and identify areas where you think the memory leak is.
oc
ss
http://pdn.pega.com
7 2
8 90
:2
ID
te
ia
Disclaimer: Parts of the content of this course is based on the materials available from the Web sites and books
oc
listed above. The materials that can be accessed from linked sites are not maintained by Cognizant Academy and
we are not responsible for the contents thereof. All trademarks, service marks, and trade names in this course are
the marks of the respective owner(s).
ss
7 2
Clipboard Tool
8 90
Definition, Usage and Navigation
:2
ID
te
ia
oc
ss
A