Introduction to Data Elements Flashcards
What is Data?
- Information that is stored by Pega 7
- May take one of two forms
- Rules
- Data Instances
What is a Property?
- An element of an application that acts as a container for data,
- In other languages also knows as a data element or attribute
- Defines and labels a value that may be associated with a Class
- Can capture a single value or aggregate other properties and their values
- Each field used to collect new data or display existing data references a property
*
How is data displayed on a form?
By assigning a Property to a Control
What is a Property Mode?
- One of eleven modes assigned to properties that determine the type of data that can be stored in a property
- At a conceptual level Modes include:
- Single Value: Name
- Array or Ordered List: Job Title (1), Job Title (2), Job Title (3)
- Unordered List: Phone(Mobile), Phone(Home), Phone (Work)
- In general there are two types of Modes:
- Value Modes - Describe a single piece of information
- Page Modes - Describe a collection of related information
What is a Property Type?
- The data that can be stored by a value-mode Property.
- A property can be defined to store one of ten different types of data:
- text
- identifier
- password
- encrypted text
- integer
- decimal
- date
- time
- date time
- true/false
What is a Data Model?
- A data model is a representation of a data structure.
- It explains to us what our data objects are, and tells us what distinctive elements define them.
How do you establish a relationship between two single-value Properties?
Through the use of Page Property Modes
What are the two Property Modes Used most in Pega?
-
Value-mode properties contain a single value, such as a date, or a name, or a telephone number.
- a value-mode property can store one of 10 different types of data to represent text, number, date, time, or Boolean data.
- Page mode properties represent a data object – a representation of an entity such as a person, an order, or a vehicle.
What are the 3 Page Mode Properties?
- Page
- Page List
- Page Group
What is a Page?
- A Page is a single entity, such as an open position, or an item for sale.
What is a Page List?
A Page List is a numerically ordered list, such as the specific items that make up a purchase request.
What is a Page Group?
A Page Group is a semantically ordered list, such as a set of addresses – home and work.
What is a Value List?
A single property that has an ordered list of text values.
What is a Value Group?
A single property type that has an unordered set of values of any type.
Why are Pages Used?
- Pages are used to group or act as a container for value-mode properties
- Pages provide the context for the Properties they contain
What is a Data Transform?
- It transforms data in our application.
- Some examples include:
- copying a value from one property to another,
- adding numbers,
- concatenating strings,
- copying entire pages.
- Data Transforms can be called from a Flow Action or Connector
How is the Clipboard used?
- To view and interact with in-memory data which can’t be readily seen via the applications UI
- it displays the properties defined on a page, and their values.
What are the categories of Pages you can view via the Clipboard?
- User pages, contain data about the work being performed – such as updating an open case (for end users) or configuring a rule (for application designers).
- Data pages, contain any active data pages. Data pages are persistent, in-memory data sources that we can use to cache data and boost performance in our applications. We’ll learn about data pages in an upcoming lesson.
- Linked property pages, contain information from data objects referenced by a linked property. Linked properties are advanced data constructs, and outside the scope of this course.
- System pages, contain information about the operating environment, such as the active user and the active application.
What is a Property Context?
- The reference to a property on a specific Page
- For example a .ZipCode value-mode property might be contained in two or more Pages such as .Vendor or .Client
- The context allows proper reference to .ZipCode as
- .Vendor.ZipCode, or
- .Client.ZipCode
Where does Pega write data as the Case is being processed?
pyWorkPage
What is the significance of the prefixes px, py, pz when referencing data?
- py - have access to view and change the data either through the application or the Clipboard
- px - can only view the data, is managed by Pega
- pz - Pega private property and system reserved