Day 3 - Data Modeling (8%) Flashcards
What type of data is changed or entered in the user interface?
Work Item Data
Work Item Data is stored in memory on something called the “________”
clipboard
A ____ value is a data element, property, or field which contains a single piece of information
Single
A collection of related values is called a data ____ or a data ____
type ; object
Properties are categorized into property modes. What are the two types of Property modes?
- Value Mode - represents a single piece of info or lists of single values
- Page Mode - represents a data object that contains related values or lists of data objects
Single Value properties always show up under what page name?
pyWorkPage
What a page?
a collection of data
use when you want multiple columns but only 1 row
What is a page list?
more than one page
multiple columns and rows of related data
What type of property mode is “Items” in the below?
.Items(2).ProductName
Page List
the (2) tells you it’s a list, and “Item” means it’s likely a Page, not a Value mode
What type of property mode is “ProductName” in the below?
.Items(2).ProductName
Single Value
When is data modeling needed?
When defining pieces of information for the business transaction (case type)
What is the difference between a Value Group and a Value List
Value Group is a container for unordered list of single values
Value List is a container for an ordered list of single values
What is the difference between a Page Group and a Page List?
Page Group is an unordered list of Pages
Page List is an ordered list of pages
You can reference a property in Pega by prefixing the property name with what character?
A dot (“.”)
To copy, update or initialize data, you would use a data ____
transform
Data transforms can act on individual properties or entire pages and iterate over page lists
What type of data transform is invoked when a case is created and is used to set default values for cases?
pyDefault
What type of data transform is used to initialize default field values?
pySetFieldDefaults
You can combine several data transforms using something called ____
Superclassing
_____ ______ automatically calculate property values and are comprised of an expression and a target property
Declare Expressions
Expression is the formula or function, i.e. Quantity * Price (multiplying 2 “Source Properties”)
Target Property is the result of the declare expression. For example ITEM TOTAL in the below declare expression:
Item Total = Quantity * Price
____ Chaining in a declare expression pushes updates to the target value
Forward
_____ Chaining in a declare expression pulls values from the source property or properties
Backward
An application includes the property .Employee.Dependent(2).DateOfBirth. The Property mode of .Dependent(2) is a _____ (Choose One)
A. PageList (Field Group List)
B. PageGroup
C. ValueList
D. ValueGroup
A
Page because a dependent is a collection of values, and it’s a List because it’s ordered
____ chaining in a declare expression means that a target property value is not automatically updated (Choose One)
A. Forward
B. Expression
C. Backward
D. Sum
C
What step is associated with the Configure View? (Choose One)
A. Send Email
B. Create Case
C. Wait
D. Collect Information
D