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