Could you tell us how to control case type list on create menu on User Portal with D_StartingFlows?
We’re using only the User Portal on 8.4.2.
Our client has several groups to which we apply several access groups.
So one of groups can see a specific case type, but others cannot.
The pyCreateCaseMenu menu rule retrieve the D_StartingFlows.pxResults. I’ve already created a when rule which controls who can do and others cannot.
I, however, found that it’s very difficult to change inside the Datapage because of several final rules and complicated logic.
Please let us know a best way to control the case type list on the UserPortal.
Thank you for your suggestion.
You mean that we should NOT hide any specific case type on a create list, but we should set ARO to each classes which relates to each case type.
Actually, I’ll try to communicate to my client below.
We cannot hide any specific case type name on the create case list.
We, however, configure that some group cannot open some case types even they can see the case types on a create case type list.
If you are using pega old version case type rule and in case type rule if you are having pyStartCase flow then you would be to achieve this functionality easily by ARO.
Please refer below mentioned article in which how to restrict the case creation option by ARO was clearly explained.
If in case you are using latest feature of pega and in case type if you are not having pyStartCase flow then you would need to have custom logic for achieving this functionality.
In portal configuration wise pega recommend us to follow below mentioned points.
Creating a portal and do all portal related configuration from app studio.
Need to have a separate portal for each access group(s), instead of having single portal for all access group(s).
Need to have separated page(s) created for all portal navigation links.
If in case you are having different portal for each access group, then removing the case creation option feature from app studio for the respective portal group alone will help you to achieve your business need.
If you are not having different portal, as far I know you would be able to control this requirement only by providing custom solution by using D_StartingFlows data page. Inside this data page you would be able to find the extension activity pySortStartingFlows, in this activity you could build your custom solution.