Professional Documents
Culture Documents
1/23/17, 6)37 PM
$19.99 $26.00
$24.99 $34.50
$16.99 $24.00
$11.25 $15.00
Macy's
Home
AdChoices
Free PDF
Open PDF
AdChoices
PDF PDF
PDF Tutorial
PDF Form
Ad
closed
by
We'll try
to show
Adnot
closed
by that
Ad closed
by Docs
eSign & Review
Legal
We'll try
Adnot
closed
to show
by that ad again
2 comments:
Labels
| PEGA MCQs
Pega Developer Network (PDN) is the ultimate knowledge repository for any PRPC developer. But since the amount of
information is so vast, sometimes it is difficult to navigate through the PDN and find the required content easily. So as a
solution, what if you had all your PRPC goodies right beside your PRPC IDE, meet PRPC developer toolbar, one stop feature
packed resource center.
PEGA MCQs
http://pegaiq.blogspot.in/
Page 1 of 7
1/23/17, 6)37 PM
http://pegaiq.blogspot.in/
Page 2 of 7
1/23/17, 6)37 PM
Ad closed by
Start PDF Download
We'll try
Adnot
closed
to show
by that ad again
Free to Download and Convert.
Get this
the Free
Toolkit
Stop seeing
ad PDF
AdChoices
App! Go to pdftoolkit.net
No comments:
http://pegaiq.blogspot.in/
Page 3 of 7
1/23/17, 6)37 PM
Ad closed
by
APIs & the We'll
Digital
Business
try
Adnot
closed
to show
by that ad again
2 comments:
We love creating Pages, especially finding good names for them. Within Pega Rules Process Commander (PRPC) pages play a
very critical role as a highly flexible data structure that offer application developers the ability to abstract the underlying
business data model.
But with all this glamor, named pages hold one dark secret, once created they have to be manually deleted through the code.
Which means you have to track most of the pages that system create for you (Obj-Browse, Obj-Open) and all of the pages that
you create (Page-New), so that you can remove those pages at the correct moment within the business process after they are
no longer needed. If not this can lead to significant performance issues as every page in the clipboard occupies memory.
This being a design feature in PRPC, Pega has given couple of ways to delete named pages. Widely used Page-Remove activity
method is the easiest and by far the best way to delete named pages, but if you are writing Java then removeFromClipboard
Pega Java API method can be used to achieve the same outcome.
Everything is working perfectly up to this point, there are ways to create pages and ways to delete pages. But there is a
problem, since we are doing these tasks as humans, even though it is a good development practice to remove pages whenever
not needed, sometimes we tend to find the best practice is not being followed, resulting a cluttered clipboard.
So what if there is a way to find out pages that were created but not deleted within two different points in an execution flow
that you have selected. Which brings us to the beginning of this post the colored clipboard. Yes you guessed it correctly, those
colored pages indicate exactly that. Those are pages that were created but not deleted within a user specified two points in an
execution flow. I like to call this the Clipboard Page Analyzer.
So you know the problem and you have seen an answer, lets see how to implement this.
Lets start with an example, Imagine you have a process with 3 flow actions (FA) and you are creating two pages called A and B
within the boundary of these 3 flow actions. According to the technical design correct life span of these two page should be as
follows.
Page A Initialized within FA1 and removed within FA2
Page B Initialized within FA1 and removed within FA1
Following diagram shows the correct representation of that.
http://pegaiq.blogspot.in/
Page 4 of 7
1/23/17, 6)37 PM
Now for a moment lets analyze the following diagram which is an incorrect implementation of the technical design
So as you can see if you examine the clipboard after the FA1 you will find Page A and B both on the clipboard, but according to
the design only Page A should be present, which means the developer has not removed Page B at the correct moment within
the process. Something similar can be seen if you examine the clipboard after FA2, where you will see both the pages present
but according to the design none should be there.
So how do we track these clipboard page creation and deletion moments. It turns out to be that we do not have to track, there
is a neat trick that can be used to get the delta of pages within two different points in time.
If you examine the PRPC Java API you will find a method called getPageNames in PageDirectory interface.
Once you have this method it is matter of invoking this method at two points in time and find the delta. So with this in mind
and after some client side coding following is what you get. (Please see the video in YouTube directly with HD full screen for
better quality).
3 Worst Interview
Answers
Master These 20
Questions, Ace Any
Interview & Land the
Job of Your Dreams!
1 comment:
http://pegaiq.blogspot.in/
Page 5 of 7
1/23/17, 6)37 PM
1 comment:
2 comments:
Ans: C
1 comment:
Home
Older Posts
$19.99 $26.00
$16.99 $24.00
$16.99 $24.00
$99.99 $149.00
Macy's
http://pegaiq.blogspot.in/
Page 6 of 7
1/23/17, 6)37 PM
Popular Posts
...
Powered by Blogger.
http://pegaiq.blogspot.in/
Page 7 of 7