Question
Amadeus
DE
Last activity: 12 Jul 2017 5:00 EDT
Is there a way to call the CaseType rule created in FW layer from an Implementation layer?
If there is a case type in the FW layer and I have to instantiate that case type from my implementation layer is there any way to call it other than copy that CaseType to my implementation layer? ( assume I don not have to customize anything in the impl layer , however I do have an Impl layer)
In other words If I do not use a casetype , I can create a dummy flow in my impl layer and call the flow in the FW layer.
( I could customize the pyStartCase flow by changing the underlying activities etc etc but it does not seem to be the right way)
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Cognizant Technology Solution
US
Yes that is possible definitely. FW layer can any ways be accessed from implementation layer. From your flow use Smart Shape create case and give Case Type as FW layer case type.
Amadeus
DE
Updated: 20 Jun 2017 20:40 EDT
Pegasystems Inc.
US
The limitation is if the case is a top level case, it has to exist in the implementation layer to create a new top level case and also list which sub case classes can be added to this top level case. Unfortunately the allowed sub cases field is not dynamic in the case type rule. With a sub case however, the implementation layer case type rule for the sub case can simply be deleted and it would be inherited from the FW layer (assuming there are no other sub cases added to this sub case).
Amadeus
DE
Thanks a lot ADAlJ . This was exactly what i was looking for. Hopefully in the future pega releases they may bring in this feature.
Celgene
US
You can use DCR to refer your implementation class. So that Case will be created using Implementation class instead of FW.
Updated: 20 Jun 2017 17:39 EDT
Pegasystems Inc.
US
The FW case type >> rule << (stages, steps, etc) can certainly be accessed from an implementation application.
Any FW rule can be accessed from an implementation application.
When creating a case from the FW layer you want to use DCR.
This allows you to can create instances of classes defined in the implementation layer.
Capgemini
IN
1. Retrieve the IMPL class name using DCR and invoke the OOTB activity "pxCreateTopCase" by passing appropriate parameters - should create a case instance of IMPL class but execute the case type rule defined in FW layer
2. If instantiating manually using create menu, put the implementation class and case type in the cases & data tab of the application rule
3. You can also create a case type rule in IMPL layer and just drag and drop flows / steps from FW layer onto the same; in future if there are updates to the appropriate step/flow, no updates are required in the case type rule and the latest update will automatically be incorporated.
Virtusa
NL
You can import/extend a framework layer casetype so that all the features/functionality of FW layer can be utilized or you can create a casetype in implementation layer call a flows/rules so that workobject will be created of implementation class.