Beruflich Dokumente
Kultur Dokumente
1 Exam Prep
1
Copyright 2015
Pegasystems Inc., Cambridge, MA
All rights reserved.
Trademarks
For Pegasystems Inc. trademarks and registered trademarks, all rights reserved. Other brand or product names
are trademarks of their respective holders.
For information about the third-party software that is delivered with the product, refer to the third-party license
file on your installation media that is specific to your release.
Notices
This publication describes and/or represents products and services of Pegasystems Inc. It may contain trade
secrets and proprietary information that are protected by various federal, state, and international laws, and
distributed under licenses restricting their use, copying, modification, distribution, or transmittal in any form
without prior written authorization of Pegasystems Inc.
This publication is current as of the date of publication only. Changes to the publication may be made from
time to time at the discretion of Pegasystems Inc. This publication remains the property of Pegasystems Inc.
and must be returned to it upon request. This publication does not imply any commitment to offer or deliver
the products or services described herein.
This publication may include references to Pegasystems Inc. product features that have not been licensed by
you or your company. If you have questions about whether a particular capability is included in your
installation, please consult your Pegasystems Inc. services consultant.
Although Pegasystems Inc. strives for accuracy in its publications, any publication may contain inaccuracies or
typographical errors, as well as technical inaccuracies. Pegasystems Inc. may make improvements and/or
changes to the publication at any time.
Any references in this publication to non-Pegasystems websites are provided for convenience only and do not
serve as an endorsement of these websites. The materials at these websites are not part of the material for
Pegasystems products, and use of those websites is at your own risk.
Information concerning non-Pegasystems products was obtained from the suppliers of those products, their
publications, or other publicly available sources. Address questions about non-Pegasystems products to the
suppliers of those products.
This publication may contain examples used in daily business operations that include the names of people,
companies, products, and other third-party publications. Such examples are fictitious and any similarity to the
names or other data used by an actual business enterprise or individual is coincidental.
This information is the property of:
Pegasystems Inc.
One Rogers Street
Cambridge, MA 02142-1209
USA
Phone: (617) 374-9600
Fax: (617) 374-9620
www.pega.com
2
1
3
Certified Senior System
Architect Exam Prep
Sean Hedenskog, Principal Instructor
Tuesday, November 17, 2015
4
Agenda
Study Materials
Exam Advice
QA Day 3
5
Recent Review
I have cleared CSSA 71v1 recently. I would suggest that go through
the Senior System Architect course thoroughly and you will pass the
exam with flying colours.
The questions were well distributed among all the chapters
mentioned in the blueprint. So, it's better not to skip any. Questions
were less complex from chapters like System Administration, Data
Model, Integration and Class Structure (I'm referring the SSA
course). I found User Interface and Report a bit tricky. Although 50%
or more questions were configuration based, but there were few
design related questions.
Sankhadeep Basak Cognizant Technology Solutions
6
Study Materials
Download the Senior System Architect Student Guide
Download the Senior System Architect Exercise Guide
Do all of the exercises
If you are not able to complete the exercise please refer to:
Hints
Download Solution
Instructor Guides (not available for all exercises)
Register for a Pega Mesh account
Instructor Guides and other useful information located here
Use Quizlet to help you review/prepare
Enroll in the CSSA Practice Exam
Download the CSSA Exam Blueprint from Pearson VUE
5
7
CSSA Exam Competencies
Application Design 11.4%
Case Design 15.7%
Data Model 10.0%
Automating Business Policies 20.0%
User Experience 12.9%
User Reporting 7.1%
Integration 8.6%
Architecture 5.7% Application Design Case Design Data Model
Automating Business Policies User Experience User Reporting
Total 100%
8
CSSA Exam Competencies and Topics
An alternative view
CSSA Exam Analysis
Created by a former SSA student
Can use as a way to prioritize the core competencies you study
9
Exam Advice
Target your review using the following slides
Book well in advance! Seats go quickly and availability varies
Go for the easy questions first
If youre not sure, mark for review and move on!
Go back & answer the less obvious questions later when you have got time.
Positive answers tend to be right. If it sounds like a feature or
concept thats sensible or makes business sense, chances are its
right!
Review Pearson VUE Tutorial and Practice Exam
10
APPLICATION DESIGN
11
Application Express
Found under Application Menu > New Application
10
12
Application Express Step 1
Name of Application
Description
Organization
11
13
Application Express Steps 2, 3 and 4
Business Objectives measureable outcomes of application
Data Objects add one or more Data Objects to represent data that
is necessary for a case to accomplish its business outcome
Reuse Layer depends on Application Structure
12
14
Rulesets
What is a RuleSet?
A RuleSet is a container or an organizational construct that is used to identify, store and manage
a set of rules that define an application or a major part of an application. Every instance of
every rule type belongs to a RuleSet.
A RuleSets primary function is to group rules together for deployment. In addition, RuleSets
can be used for versioning and access control.
Operators receive access to an application through an access group, which references the
application. An application is comprised of a list of RuleSets. Application RuleSets are typically
created by the Application Express.
15
Rule Resolution Process
Rule resolution dictates which rule to use in a particular situation
If the rule is in the
cache, skip to step 8
1 2 3 4 5 6 7 8 9 10
Choose Discard Rank remaining Find the most- Verify that the
instances with inapplicable candidates by: applicable user is authorized
matching RuleSets and Class, RuleSet instance to access the rule
purpose (name) versions Version,
Circumstance,
Circumstance Date
14
As we covered previously, rule resolution is the process by which PRPC determines which rule
instance to use at a given time. Rule resolution works by assembling a cache of rules. If the
correct rule instance is in the cache, rule resolution returns the appropriate instance and PRPC
verifies that the user can actually process the instance. If the rule is not cached, PRPC must first
add it to the cache.
One caveat regarding RuleSet versions: rule resolution will only look for rules in a single major
version. If an application is built on RuleSet version A:02-05-13, rule resolution will not look for
rules RuleSet version A:01-04-17.
16
17
Rule Resolution
Know the 10 step process
15
There are five options for rule availability in PRPC. Two of the options expose the rule during
processing, while the other three options prevent its use.
Yes
Rule instances set to Yes are always available during processing, and can be copied without
restriction.
Final
Rule instances set to Final are always available during processing, but cannot be copied into
another ruleset without using a new name. Final rule instances are just that: the end of the
line.
No/Draft Mode
Rule instances set to No/Draft Mode are ignored; PRPC skips the rule instance and proceeds to
the next one in the hierarchy, starting with the next-highest RuleSet version.
Blocked
Rule instances set to Blocked are ignored during processing. When PRPC encounters a blocked
rule, it immediately stops the rule resolution process, and returns an error to the user.
Withdrawn
Rule instances set to Withdrawn are ignored during processing. When PRPC encounters a
withdrawn rule, it skips any earlier version in the same class, and proceeds to the next-highest
class in the inheritance hierarchy.
Withdrawn rules behave similarly to blocked rules, but with one important difference:
withdrawn rule instances prevent execution of all rule instances in a particular class, while
18
blocked rules prevent execution of the rule at all. Withdrawn rules are typically used to delete
a rule in a locked RuleSet version. For example, if you initially built an application with the
Approve flow action in the work type, and decided three releases later to generalize the
approval action in the class group, you would need a way to prevent the application from ever
seeing the instances in the locked RuleSet versions that shipped with the earlier versions of the
application. By saving a rule instance to the work type and setting its availability to Withdrawn,
PRPC would skip the earlier versions of the rule in the work type when performing rule
resolution.
https://mesh.pega.com/docs/DOC-61802
19
Enterprise Class Structure
16
20
Reusability
Understand the Importance of Rule Naming and Documentation
Good article on PDN Node 1953
17
21
Specialization
Assess the Appropriate Specialization Technique
Class, RuleSet or Circumstance
Not an exact science
18
22
CASE DESIGN
23
Case Lifecycle Management - Stages
In a typical build order, what would the 4 Application Development
steps be?
How might they be reordered and why?
Discuss the merits and drawbacks of each order you have listed
Stages: Make sense being grouped together, significant change of ownership, Updated Status
Primary normal course of events, happy path, by default sequential and automatically move
to the next stage
Alternate exceptions or alternate processes
5 step types:
Single step assignment
Multi step process
Case
Approval
Attachment
24
Case Lifecycle Management - Stages
Different types of stages
Skip stage when
Stage service level agreement
Best Practices
How many Stages / Steps are recommended?
21
25
Case Lifecycle Management - Steps
How many step types are available?
Describe the usage of each
22
5 step types:
Single step assignment
Multi step process
Case
Approval
Attachment
Parallel lines over a step indicate that the step will get launched upon stage entry, without
waiting for the completion of the previous step
Launch on re-entry once a stage is processed it can be re-entered from another stage by the
change stage process or manually by the end user. Only steps that have this option selected are
started automatically when the stage is re-entered
26
Case Hierarchy
Case and subcase relationships
If we see during case decomposition that the tasks are individual
transactions that have their own lifecycle independent of the parent case,
then we create them as subcases
Add a subcase by using the Case Explorer and selecting Add Case
Type
What happens when we do this?
Can we change the default settings of inheritance and the ruleset version?
23
To add a case, from the Case Explorer select Manage Case Type > Add a case type. The Create
Case Type dialog box appears. Lets expand the advanced settings tab to review the advanced
configurations options.
27
Case Instantiation
Subcases can be configured to be instantiated different ways
Subcase Case Designer
Step Configuration in the Parent Case Designer
Create Case Smart Shape in any Flow Rule
24
28
Case Instantiation Subcase Case Designer
Configured in the Case Designer of the Subcase
Defined on the Details Tab
Automatic or Manual
Parent Case Starts, can be conditional
Any or All of the following dependencies are
fulfilled
25
29
Case Instantiation Parent Case Designer
Configured in the Step Configuration in the Parent Case Designer
26
30
Case Instantiation Create Case Smart Shape
Configured in the Create Case Smart Shape in any Flow Rule
27
31
Data Propagation
When subcase is instantiated as part of
the parent case, we can use the Data
Propagation option to set the values of
the subcase.
28
32
Locking
Enhanced in Pega 7
Default Locking lock the case when the operator opens the case
29
33
Locking Parent and Subcase
In Case Designer of the parent case, we can use the Locking option
to set locking on the top most parent case
If subcases are instantiated as part of the parent, they will have the
same locking settings
30
34
Flow Shapes
31
Decision / Fork Q. What rules can we reference? Table, MapValue, Tree, Expression, When
Connectors
Split Join Q. what settings are available? Most important is - Rejoin if Any/All subflows
complete. Q. Can subflows be multithreaded? A. No
Assignment Q What kinds can be created? A. Worklist, Workbasket, External, Agent. Also
Connect (not best practice, use an Integrator shape (16))
Call a subflow
Assignment Service - Use the Assignment Service task in a flow to pass control to an
external system using a connector (for example, Connect BPEL rule). Assignment Service
tasks support asynchronous coordination with external systems, in contrast to the
Integrator tasks, which support synchronous connections. Both Integrator tasks and
Assignment Service tasks reference an activity of type Connect. For an Integrator task, flow
execution continues as soon as the activity completes. For an Assignment Service task, flow
35
execution pauses until Process Commander receives a service request of the appropriate
type.
Utility
Pool with Swim Lanes - You use Router Pool and Swim Lane shapes to organize and
graphically identify a related group of task shapes that are performed within a specific work
context (typically a work group) or business purpose. A router activity defined in the lane
shape is associated with Assignment shapes inside the lane. During processing work objects
are to the appropriate user worklist or workbasket defined by the router.
For example, an insurance claim application has one assignment instructing operators to
collect customer information, another to verify the information and calculate payments,
and a third to issue payments and update financial records. You want each to have its own
work group and workbasket. You create a pool named Insurance Claim Process containing
three swim lanes named CSR, Back Office, and Fulfilment. Each lane has a router activity
associated with the assignments within it. During flow processing, the router assigns the
work object to the appropriate workbasket inside the lane.
36
Screen Flows
Often used to spread the gathering of related data across multiple
forms within the same screen.
32
37
Flow Configuration
Know your assignment shape
33
38
Flow Configuration
Color coordinated statuses
34
39
Flow Configuration
In which connectors can you specify Likelihood?
Always
Else
When
Result
Flow Action
35
Result and Flow Action determines the order of precedence, how the items will be added to
either a drop down or the actions menu
40
Work Status
Can be set on Start Shape, Data Transform, Assignment Shape,
Connectors, End Shape, Activity etc.
pyStatusWork property
List available from Designer Studio > Process & Rules > Processes >
Status Value
Can create your own by creating a Field Value rule of the pyStatusWork
field
36
41
Work Party
A person, organization or other entity that has a vested interest in
the progress of a case. They may not necessarily work on the case
Uses out of the box data party classes to hold commonly used
properties for roles
Com, Gov, Operator, Org and Person
Can create your own
37
42
Work Party Benefits
When a case is created by the Application Express or added to an
existing application through the Case Explorer, the system creates
a Work Party rule named pyCaseManagementDefault
38
43
Adding a Work Party
Clicking the edit link displays the Parties form for us to edit or
delete existing roles
Three default roles Customer, Owner, Interested
39
44
Work Party
When associated with a case, a built-in property (pyWorkParty) is
embedded into the case
40
45
DATA MODEL
46
Data Elements
Give some examples of Property Types
Give some examples of Property Modes
Explain this statement: A Property Rule must have a Property Mode,
but not necessarily a Property Type.
42
47
Data Elements
Where does a property get a value from?
Manually: user input or data transform at run-time
Automatically: Refer to a data page or Copy from a data page,
also known as auto populating the property
43
Automatically
Refer to a data page - This is the recommended option. When data page parameters change
and a reference to a non-parameter value is made, the system loads a new data page. Reads
from and writes to the property occur on the new data page.
Copy from a data page - Only use this option if you need to copy the data into your case. When
parameters to the data page change and a non-parameter value is referenced, a new data page
is loaded and copied into this property. Interactions with the property happen on the copied
data.
48
Data Elements Property Rules
44
49
Data Elements
What are the acceptable
values for the .Salary property
as configured on the right?
Cannot be implemented this
way! .Salary is a Decimal type
and Table Values cannot have
a non-decimal, i.e. the operator
<.
45
Discussion points:
What are table values? These contain only acceptable values for the properties.
What other types of Table Type are there?
How does UI Control affect the Table Values? No real impact actually, as UI Control only
manages how data are captured. Ultimately, the UI Control must allow user to enter at least
one value that matches one of the Table Values exactly.
50
Reference Data
You can store Reference Data in either a Data Table, or an External
Table.
What are the similarities?
What are the differences?
46
Discussion points:
Data Table stores into a Pega table using a schema from pr_data.
External Table can contain any table schema.
Data Table records are stored in BLOBs.
External Table records are stored in exposed columns.
Both requires a Class, and a Database table rule to map the table to the class.
Both can use a Report Definition to retrieve records.
Properties in Data Tables do not need to be optimized to be used, but should be for better
performance.
Data Page can use the Report Definition as a source.
51
Data Pages
Separate Data from Process, UI and Logic
47
Data structure
List or Page
Scope
Thread(Case), Requestor(User Session) or Node(Across All Sessions)
Refresh Strategy
If Older Than, Do Not Reload When, Once Per Interaction
52
Data Pages
Data pages are invoked declaratively
48
53
Data Modeling
49
54
Certified Senior System
Architect Exam Prep
Sean Hedenskog, Principal Instructor
Wednesday, November 18, 2015
50
55
AUTOMATING BUSINESS
POLICIES
56
Declarative Rules
Name the 6 Declarative Rule Types
Describe the functionality of each
52
Declare Expression
Declare Constraint
Data Page
Declare Index
Declare OnChange
Declare Trigger
Declarative rules are created and the system references them with the exception of the Data
Page. You will reference data pages in various rules within PRPC.
57
Declarative Rules
Since declarative rules are not reference explicitly PRPC must
determine when to execute them.
53
58
Forward Chaining
Executed when the value of any of the source properties change
Most declarative rules follow forward chaining
54
59
Backward Chaining
Executed when the target property is referenced
55
60
Decisioning Rules
Name the 4 common decision rule types
Compare & contrast them
Decision Tree
Decision Table
Map Value
When
61
Decisioning Rules
57
62
Decision Shapes
58
63
Decision Table
59
64
Decision Tree
60
65
Map Value
Used in special circumstances where the values of one to two
factors decide the outcome
61
66
When Rules
Can return only one of two values True or False
62
67
Delegating Decision Rules to Business Users
First, create a new RuleSet for end users to make changes
RuleSet should use the application RuleSet as its prerequisite
Should remain unlocked
If rules are delegated to more than one user, we should enable the
checkout option
RuleSet should be added as a production RuleSet
Access Group of users should be modified to include the Production
Ruleset
Operator IDs should be configured to allow checkout of rules
63
68
Delegating Decision Rules to Business Users
Next, we delegate the rule
Save a copy in the new RuleSet
Under Actions menu, Add to Favorites
Choose one of the following options;
My Access Group, Other Access Groups or Other User Personal
Once delegated rules will appear on the user portal for users to
access
For users using case manager, these rules are accessible in the operator
menu
64
69
Data Transforms
Describe Data Transform functionality
What are the available step actions in data transforms? Can you
describe them?
65
There are multiple situations in which the use of the Data Transform is more appropriate than
any other rule type. Whenever we need to set properties values on a given page, whether they
are the initial values or updated values, a Data Transform is the best option.
Set is used to set the target from a source. We can set a value to a Single Value property which
exists in the top-level page such as the pyWorkIDPrefix or in an embedded page such as the
LoanType in the LoanInfo page.
Remove is used to delete the target and any associated values from the clipboard.
We can also use Update Page to set the properties defined on an embedded page. When we
use Update Page we need to set individual properties using the Set action with the nested rows
after the row with Update Page. In fact, we have the option of selecting any of the actions
shown above for the nested rows below the Update Page row.
We can reference another data transform rule from our existing data transform rule. This might
occur if we are going over 25 steps and want to break the rule into smaller manageable data
transforms. Or we might have a reusable data transform, such as one for initializing a case with
some default values. Whenever we need to invoke a Data Transform from another data
transform rule, we use Apply Data Transform.
Conditional Actions are Data transforms that execute all the actions in the order defined.
However there are a few conditional actions that are available to add logic, to perform steps
based on a condition.
70
Otherwise When and Otherwise To provide actions for the alternative to the When
actions.
We can also iterate over a pagelist using For Each Page In action. Using this action we are able
to apply the change for all the child nested rows of the page list. We have the option of
selecting any of the actions for the child nested rows, such as Update Page. Update Page is
primarily for a single page, while For Each Page In is for a page list. We can use the Append
to action to copy a page from the source to the target. For instance, if we want to add a new
page to the Assets page list, we can select new page. We can also add another existing page or
copy all the pages from another pagelist, by selecting the appropriate values in the drop down
in the relation column. Append and Map to is used to map individual properties in the page
list. When we select this action, at least one nested child column is used with Set action.
If we dont want to loop through all the pages in the pagelist, we can use the Exit For Each
condition to exit the loop, or we can exit from processing all the remaining steps with the Exit
Data Transform condition. Typically, we have these steps after a when condition.
Used in:
Starting Processes
Data Propagation
Step in which subcase is instantiated
Flows on connector properties
Flow actions as pre or post processing
Refresh this section in a UI or Run data transform on a cell
71
Data Transforms
66
72
Activities
Provides procedural processing functionality in PRPC
Each step has a method. The step page indicates the default page
the method operates on in that step
Commonly used methods Property-Set, Obj-Open, Obj-Browse, Page-
New, Page-Remove
Out of the box activities can be found under the Designer Studio >
Process & Rules > Processes > APIs
67
73
Routing
Where do we specify routing?
68
Assignment shape
Worklist/Workbasket
Push routing routes the assignment to a single users worklist, and as such there is immediate
ownership as soon as the assignment is created.
Pull routing, on the other hand, routes to a workbasket that is shared across multiple users.
Ownership does not occur until an operator takes action on it. Most applications use
GetNextWork logic to select the most urgent assignment from multiple workbaskets. When
this happens, the assignment is removed from the workbasket and is assigned to the operators
worklist.
74
PegaPulse
PegaPulse is a rich social platform that adds social activity
streaming capabilities to the user interface. We can collaborate and
converse with other application users or developers.
69
If PegaPulse needs to be included in other harnesses, or in any user interface rule, simply
embed a section rule, @baseclass.pxActivityStream
The Message pertains to the current case and Make secure post checkboxes allow us to
configure the availability of the post. The Make secure post option is available only when
Message pertains to the current case has been selected.
Message pertains to the current case is disabled. Post is public and appears in the Pega Pulse
feed in the Case Manager.
Message pertains to the current case is enabled, Make secure post is disabled. Post is public
and appears in the Pega Pulse feed in the Case Manager. Post references the case ID.
Both Message pertains to the current case and Make secure post are enabled Post is private
and only appears in the Pega Pulse feed when the case is opened.
75
Case Attachments
By default, case attachments are store in the pc_data_workattach
table as instances of concrete classes derived from the Data-
WorkAttach- class.
They are not stored in the same table as the case
70
Types of attachment
Note attachments (text notes) : Data-WorkAttach-Note
File attachments : Data-WorkAttach-File
URL attachments : Data-WorkAttach-URL
Screen shot attachments : Data-WorkAttach-ScreenShot
Scanned image attachments : Data-WorkAttach-ScanDocument
Content attachments : Data-WorkAttach-ECM for file attachments saved in an External Content
Management system
76
Ticketing
Indicates a business exception. It provides an event-driven
override to normal sequential work processing.
71
77
Validation
Where are validation messages configured & referenced?
Describe the best practice technique for this configuration
Why is this approach a best practice?
72
In Validate rules
Use message rules for localisation and reuse
Reuse & easier to localise later
78
Correspondence and Notification
Describe Notification in Pega 7
What is it?
Where can Notification be configured?
How can you tell it has been configured?
73
Notify Email Smartshape simple Rich Text Editor, no variables etc vs Correspondence full
edits
Can choose email or party
or
In assignment shape, designated by the envelope symbol on the assignment shape
In assignments and other shapes, can send full correspondence with Corr activities
Correspondence: Includes need for WorkParty setup. Also supports correspondence types
whereas notify is much simpler and only supports email.
If you need to have dynamic fields, or "Rich Text" use corr, use notify if you only need hard-
coded simple / sample or standard messages.
79
USER EXPERIENCE
80
User Experience
Without good user experience, user adoption is at risk
75
81
User Experience
76
82
Harness
Name the 4 common Standard Harness rules.
77
83
Harness
A flow is designed as shown on
the right
When executed, the output can
be different as shown below.
How do you achieve this?
78
84
Flow Actions
What is the purpose of Flow Action rule?
79
References UI rules to define what output to display, provides validation and pre-post action
activities or data transforms
85
User Interface
Name some elements that can be used in a section.
What are the layouts available?
Dynamic Layout, Smart Layout, Freeform Layout, Repeating Layout, Column Layout
86
Layout Types
Dynamic Layouts
New to Pega7
Default layout type
Uses HTML5 tags and supports responsive behavior
Column Layouts
Split the work area into columns. Mostly used on user portals
Repeating Layouts
Dynamic and Column layouts can also extended using the repeating mode
81
87
Formatting UI using Controls
Used in two places
When a property is defined
Where the property is referenced
82
88
Building Responsive UI
Standards Mode automatically enabled in Pega 7
83
89
Implementing Dynamic Actions
Action Sets
Same event can trigger more than one action
Order of the actions important as they are performed in order
If we need different events to perform different actions then we need to
create it as a new action set
Event Architecture
Controls, Grids and Expression Calculations
84
90
REPORTING
91
Reporting
Key functions of Pega 7s reporting capabilities is to provide access
to ad hoc reports that business analysts or managers can run
86
Report Browser
A shortcut is a link that displays the report title in the report browser. Serves two purposes
pointer to a report definition rule that is used to present results and the category type where
this shortcut appears
Report Viewer
92
Report Definitions
Can use the Report Editor to create and configure reports
Automatically creates a report with the name pyDefaultReport
There are a few requirements that force us to work directly with the
Report Definition
When modifying the choices in the Report Viewer
When modifying the choices in the Data Access tab
Configuring pagination and threshold settings
Setting up Smart Info and other sections
Creating and configuring sub reports
87
93
Data Modeling in Reports
Have to understand how data collected in a case gets saved in
PRPC data tables
88
94
Data Modeling in Reports
Defining relationships between tables
Case and Subcase two records in the same table
Case and Assignments two different tables
Case and History two different table
89
Class Joins
Associations
95
Optimization of Properties
PRPC uses a specialized BLOB structure to save property values
To run reports that query against this BLOB can have quite an
impact on processing time especially if we are reporting on
thousands of records
90
96
Charts
Must have a summary type report to display a chart
91
97
Certified Senior System
Architect Exam Prep
Sean Hedenskog, Principal Instructor
Thursday , November 19, 2015
92
98
INTEGRATION
99
Connectors
Connectors allow us to send requests to another system and return
values to Pega 7
94
100
Connector Wizard
95
101
Connector Processing Model
96
102
Connector Processing Model - Simplified
97
103
Services
Services allow us to expose PRPC to other applications as a
service
98
104
Service Wizard
99
105
Services Processing Model
100
106
Services Processing Model - Simplified
External system sends request
Communicate with PRPC using the correct protocol
PRPC processes request and sends back response
Usually creates a case
101
107
Error Handling
Two basic types of errors:
Transient
Permanent
102
108
Simulate a Connector
Useful when data sources are not available
103
109
External DB Integration
104
110
ADMINISTRATION
111
System Debugging Tools
Clipboard
Tracer
UI Inspector
106
112
Performance Analysis Tools
PAL (Performance Analyzer)
Provides a view to all the performance statistics that PRPC captures
Log Usage
Unlike PAL, shows overall system activity
Available in SMA
Guardrail Reports
Compliance
Summary
All Warnings
Charts
107
113
System Logging
Accessing
Designer Studio > System > Tools > Logs > Log Files
Download as either text files or zip
Important one for debugging is named Pega
Reading
PLA (Pega Log Analyzer)
108
114
Purge and Archive Wizard
Access by choosing Designer Studio > System > Tools >
Purge/Achive
Schedule Process
Archive Settings Archive and Purge (mostly used in production) or Purge
Remove
109
115
Application Migration
Application Packaging Wizard
Rule-Admin-Product
Export Gadget
Import Wizard
110
116
ARCHITECTURE
117
Agents
Task-driven or schedule-driven
Task-driven pick their work from a queue which are generally
created during case processing
Schedule-driven agents directly run an activity to perform their tasks
112
118
System Queue or Agent Queue
Represented in PRPC by a class and the entries by the instances of
that class
System-Queue-DefaultEntry is the class of Standard Agents
Typically persisted in the pr_sys_queues table
Entries generated during case processing when the Queue-For-Agent
activity method or QueueForAgent activity is called
113
119
Auto Queue Management or AQM
Provides facility to manage the state of each agent queue as it is
moving from Scheduled to Now Processing
Returns either Broken-Process or Success
114
120
Security
Authentication
Are you who you say you are?
Are you allowed in?
Authorization
What are you allowed to do?
What rules can you execute?
115
121
Authorization Security Overview
116
Key Points:
The RuleSet list
If the Rule is in a RuleSet which is not in your RuleSet list you cant execute it.
The Access of Role to Object (ARO)
For each object that you are performing an operation on, an ARO (for each
Role) is found which may convey the privileges to perform the desired operation
User has one or more roles (assigned through an access group). Each role has a
collection of AROs
Privileges assigned to Rule Instance
Allows individual Rule Instances to be secured separately from others.
122
Review Authorization Model with Access Manager
117
123
LDAP Authentication
Directory service designed to represent large complex
organizations
extremely flexible
at its core its a list of records, usually representing people and passwords
118
124
Q&A
125
Submitted Questions
What is the difference between Pega Mesh and Pega Forums?
If we have ten results for a decision table then will we need ten
connectors? I think noBut how many connectors can we have
max?
Can you please tell what the Allow To Evaluate Properties sets and
Allow to Take Action check boxes used for?
120
Pega Mesh is a collaboration platform we use internally at Pega. While it is mostly internal and
only available to Pega employees, we have the ability to make certain workspaces available to
Pega, Pega Partners and Customers. In order to get access you must be registered and
subsequently invited to participate in a workspace.
Pega Forums are available to anyone who has access to the PDN and are the recommended
place to search for answers and post your questions as these are monitored daily.
There is no maximum for the number of Connectors emanating from a Decision Shape but best
practices recommend that you limit them to 5 or less. If you have more than 5 connectors
emanating from a decision shape Pega will give you a Guardrail Warning.
The Allow To Evaluate Properties and Allow to Take Action check boxes are advanced features of
Decision Trees. The Allow To Evaluate Properties allows you to reference one property as an
input property. It creates case statement logic.
The Allow to Take Action will allow you to manipulate or set additional properties for each row
that evaluates to True.
While technically it is possible to create and Action without an Event. Nothing would happen.
You would receive a Caution warning from PRPC indicating you have an incomplete action set.
You should have at least one Event and one action.
126
Submitted Questions
We cannot call a decision table from another decision table.... Am I
right? Can a decision table call other decision table? Not
mentioned in Sean's presentation
But it is required add a branch to the application rule first, and then
create the branched ruleset - is that the functionality?
121
While you can call a Decision Table and Tree from a Decision Tree. There is no built in provision
in Pega to Call a Decision Table from another Decision Table. But it can be done indirectly by
using a Property in the Decision Table that is calculated automatically by a Declare Expression
that References a Decision Table.
I think you may be confusing the Branch instruction in an activity with a Branch Ruleset. You
can create a Branch Ruleset in Pega. A Branch Ruleset is used to allow separate development
teams to make independent changes to a shared RuleSet while still providing visibility into each
others changes. Branched Rulesets may eventually require merging.
A branch is a container for RuleSets with rules that are undergoing rapid change in a
development environment. The RuleSets associated with a branch are called Branched
RuleSets. We say that a branch RuleSet is a RuleSet that: Is based off of or "branched from"
another RuleSet and contains rules that are in active development in the associated branch.
Branch RuleSets can be created directly from the Application Rule form.
Select Create Branch Ruleset.
Select a Branch ID
Chose a RuleSet to branch from.
127
Submitted Questions
So when we add/import a branch, the rules defined in the branch
would also show up in our Application Explorer?
122
Yes, as long as they are part of our application (they are an associated ruleset). Branched
Rulesets are useful in development projects, where multiple teams work simultaneously on the
rules and all members on one team need to see each others work, while also isolating their
development changes from the other teams.
A Data Page is a Page in Memory (stored in the Clipboard) that is used by Pega to cache
required. This page can be scoped and include a refresh strategy. The Clipboard represents the
Requestor's Session on the Application Server.
128
Submitted Questions
Is it possible to use jQuery library with Pega UI like how we do in
any Java or .NET UI pages?
Talking about dynamic layout, when Sean reduced the size of the
window, in the skills textbox looks like some options 'disappeared'
(the ones for changing styles, text size and so on). Is this normal or
an issue?
In the Status value list, we can find several status. How we can
identify the ones that are provided by PRPC by default?
123
While it may be possible it most certainly would be a violation of best practices and it would
make your application extremely difficult to maintain and support. Definitely NOT a "Build for
Change" strategy.
While some of the controls did change as the window was reduced the Rich Text Editor is not a
responsive control.
You can find the standard status values by navigating to the Designer Studio > Process & Rules >
Processes > Status Values for a complete list of status values.
In a Work Status field if you use the Smart Prompt it should show you custom status values first
followed by built in status when you select the More option.
129
Submitted Questions
What is the difference between notification and correspondence?
Does the notification use a correspondence or does it use a
message by default?
124
Notification is the activity we use to send out the correspondence to the correct recipients.
Correspondence is the content of the message. This is contrasted with the Send Email smart
shape which will allow us to send a Rich Text Message or Correspondence.
When we create a report through the Report Browser a temporary copy of data is viewable
using the Report Viewer. If the user does not save, no records are created. If the user saves the
record a Report Definition as well as a Shortcut is created. It is required to initially create the
report however shortcuts are not needed unless you would like to reference the same report in
a different report category.
This is the final step that determines which candidate is the most likely one to be executed. Each
of the qualifiers is examined to see if there is a match. The system stops on the first match thats
available or the default if none of the qualifiers match. This allows us to use the qualifiers, such
as Circumstance, to specify the outlier processes while still maintaining a base default rule for
the majority of cases.
130
twitter.com/pega
linkedin.com/company/pegasystems
125
131