Posted: 13 Mar 2017 10:30 EDT Last activity: 27 Mar 2017 8:16 EDT
Query regarding a quiz on the 'Creating a Pega Application' lesson
I'm currently training a few students through the Pega Senior System Architect course and have a question about the following quiz question on the 'Creating a Pega Application' lesson.
You have a requirement to create an email correspondence that can be reused by other applications. In which two layers of the Enterprise Class Structure could you apply the email correspondence rule? (Choose Two)
There are the following four answers;
I am in full understanding that one of the correct answers is 'Organization' whilst 'Implementation' is incorrect. My confusion comes between deciding whether Division or Framework should be correct. I know the quiz states that Division is correct but I'm not entirely sure why.
Could someone explain why for this question the answer is Division rather than Framework - especially as Division is an optional layer whereas, in my opinion, it makes more sense for the answer to be Framework.
While I guess you technically could save the correspondence rule to any of the layers, the two that make the most sense are the Organization and Division layers.
As to why the Division over the Framework:
Division - usually used to create assets that are available for use by multiple applications
Framework - usually used to create assets that can used to create generalized, reusable applications
When using the Application Wizard the application will automatically create a divisional layer for you. Any assets you place in there would be automatically available to any implementations you build under that division. This is done through simple pattern inheritance.
Conversely in order to use an asset that has been created in a Framework layer you would need to make sure your application is built on top of the Framework. We would then have access to those assets through directed inheritance.
So placing the rule in the division layer will ensure that all applications have access to the correspondence rule. Whereas placing the rule in the framework layer will only work IF our application is built on top of the framework layer.