Creating an Effective Data Model- SAE 2 Flashcards
What are the 2 types of data?
Flow data
Business Data
data models are made of these two types of data.
What is Flow Data?
Flow data is the information needed by an application to determine what to perform and who should perform it.
i.e the right data — right task —- right participant — at the right time
Without flow data, the process will not work. It is data that is used to make decisions in a process.***
what is Business data?
Business data provides context for a given task for a given participant.
**It is essentially Data entered by a users and it provides the Intent driven UI that users need to see. An intent-driven User Interface is a screen where the user has no issue determining what is being asked of them to do.
What is a data model?
A data model is the organization and structure of data and consists of data objects, data object elements, and their associations. data models are defined outside of PRPC and may have already been built by the organization. This is a cross organizational effort.
What is a data class?
Think of a data class as a template for how you want the data to should be structured.Data classes use properties to represent the data elements in a data object. We should take advantage of our class structure and create more specialized data classes that add the new additional properties. Once we've created a data class we need to use them in an application. To do this we add a property in a work class. Concept of Instantiate. Quiz question: A work class uses a PAGE property to use a data class. **
Data Model Naming Conventions
- Use a noun for a class name such as Customer or Address.
- Use camel case with the first letter of each word capitalized.
- Make class names simple and descriptive.
- Use whole words. Avoid acronyms and abbreviations unless the abbreviation is standard.
Property Naming Convention
Start every property name with a letter and use only alphanumeric characters and dash characters.
Use CamelCase for property names, capitalizing the first letter of each word in the name, such as UseShippingAddress.
Property names are case sensitive; “emailaddress” and “EmailAddress” are two distinct properties.
Use distinct, unique property names Instead of using a property named Amount, use more descriptive names such as LoanAmount
Do not use @ and $ or other special characters and punctuation marks.
Don’t use a property name that matches a reserved page name or keyword, such as Top, Parent, Local, or Primary.
What are the 3 participant points of data?
process participant - task level view of the data
process analyst- need for reporting, metrics and analysis.
process designer - Implementation point of view, future development and maintenance.
(all of these were on the quiz)
What is the systems of record?
A system of record is the master copy for a given data element or piece of information. Even though it could be replicated in multiple locations.
Is a Pega application ever the system of record for anything?
Yes. Pega is the system of record for the transaction of any case that is created.
What is a data table?
A data table is a simple structure which is used to store reference data outside of the application.Data tables are used to manage reference data.
What is a data page?
A data page loads the data into memory and stores it on the clipboard, it is then accessible to our application.By storing the information in a data page we gain an increase in performance since the data is in cache.
Data pages act as a level of abstraction from the data layer.
We can use data pages as a layer in between the data layer and application layer to make our applications more maintainable and by caching the data in memory we can increase the performance of our application.
List the 3 refresh strategies
1) Refresh if Older Than ( defined by when it was last accessed)
2) Do Not Reload When (When rule evaluates to false, the page contents are refreshed)
3) Refresh Once per Interaction
what are the three scopes of data pages?
Node, Thread or Requestor
what is data propagation?
The mechanism of copying data within the case hierarchy is called “data propagation”.
If data changes in the parent, the subcase will not know until you share it as it does not automatically update.