Closed
How I can understand chains
Hello , how I can understand standatr classes, property and so on , and also link between them. I am complete SAE1 but don't understand pegas data model.
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
Hello , how I can understand standatr classes, property and so on , and also link between them. I am complete SAE1 but don't understand pegas data model.
Hello,
A concrete class in Pega is mapped to a table in the database. If you open the class rule and click on the button "Test connection" to the database it will pop open a screen and provide information on which database and which table. Note, more than one class can map to the same database table.
If a class is a table, then the properties in the class are like the columns in the table.
Take the Candidate case from SAE1. SAE-HRServices-Work-Candidate class represents the work object. You probably noticed that Candidate case has a more complex data model than one table in a DB would support. If you were to build out the data model in a DB directly you would create a separate table for each data object. And create columns in that table for each data objects attributes. And then you would use a join - primary key to foriegn key between these tables.
In Pega, you would create a data class in SAE-HRServices-Data-<object name> for each of the data objects. And create properties for each of the value columns. To join the tables you would create a page, page list, page group property in SAE-HRServices-Work with the page class definition of the data class. You don't need to define the join columns/properties, Pega does that for you behind the scenes.
Below is a good article that might help as well.
Regards,
Hello,
A concrete class in Pega is mapped to a table in the database. If you open the class rule and click on the button "Test connection" to the database it will pop open a screen and provide information on which database and which table. Note, more than one class can map to the same database table.
If a class is a table, then the properties in the class are like the columns in the table.
Take the Candidate case from SAE1. SAE-HRServices-Work-Candidate class represents the work object. You probably noticed that Candidate case has a more complex data model than one table in a DB would support. If you were to build out the data model in a DB directly you would create a separate table for each data object. And create columns in that table for each data objects attributes. And then you would use a join - primary key to foriegn key between these tables.
In Pega, you would create a data class in SAE-HRServices-Data-<object name> for each of the data objects. And create properties for each of the value columns. To join the tables you would create a page, page list, page group property in SAE-HRServices-Work with the page class definition of the data class. You don't need to define the join columns/properties, Pega does that for you behind the scenes.
Below is a good article that might help as well.
Regards,
Tara
Pega Academy Support Team
Question Solved
Question Solved
Question
Question
Question
Question
Question Solved
Question
Question
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.