Question
Amazon
US
Last activity: 24 Jul 2016 18:23 EDT
Declare Expression + Implementation Layer
Consider an application has framework and implementation layer.
Framework layer has a declare expression defined on a property in a work class. How will this declare expression ever run from implementation layer?
As per PRPC's Change Tracking, there are 3 options:
1. Only when the top-level page is of the Applies to class - this wouldn't work as implementation layer class is different.
2. When the top-level page is of the Applies To class, or one of the following - this wouldn't work as framework layer doesn't have knowledge of implementation layer and we shouldn't put any implementation relation information.
3. Regardless of any pages it is embedded in - this seems to be the only option which would work. However, this option is not recommended by Pega.
So, how do define an expression at framework layer and use it at implementations layer? What is the common approach/design pattern?
Thanks in advance!