I have followed the link below and validated that the When rule pyShowCaseSetting is returning true. Despite this, the Archival configuration section is not displayed in the Case Type rule.
If, instead, I perform a private edit of pyDefault in Pega-Case-Settings-ArchivalPolicy and set .pyShowInExpress to true, the configuration becomes visible in App Studio. However, this does not sound like the correct or recommended approach to enable that.
@MartiGruart In 24.2.x, the supported place to manage a case type’s archival policy (for Traditional UI) is the Data-Retention-Policy instance, not a private edit of the case settings rules. That policy is what the platform actually uses to decide when resolved cases become eligible for archiving, even if App Studio does not show the Archival section. This also keeps you out of Pega base rules and avoids the unsupported pyShowInExpress workaround.
That allows us to se what is setup and cahnge it; my question is then, what is the right way to setup new Case Type Archival Configuration in 24’4 with Traditional UI?
I have attaced an screenshot, the Create button seems to be disabled on that class.
@MartiGruart
To set up archiving you need to open the Case Type.
Go to the settings and click on Archival on that case type.
click the checkbox Enable archival and enter the number of days you need.
Save the case type changes.
Pega will automatically create the corresponding Data-Retention-Policy record for that case type, which you can then view in the list. You can go though this link which explains in details.
@Sairohith that is clear, thank you. As I mentioned on my original post, the Archival configuration section is not displayed in the Case Type rule: Not in Designer Studio and not in App Studio.
If, instead, I perform a private edit of pyDefault in Pega-Case-Settings-ArchivalPolicy and set .pyShowInExpress to true, the configuration becomes visible in App Studio.