SAP Knowledge Base Article - Public

2899566 - Receiving "Invalid Group Detected" when editing Permission Groups

Symptom

  • When making changes on old permission roles on Manage Permission Groups, the following error message appears:
    • Invalid Group Detected: The filter specification of this group cannot be restored. This can be caused by a new data model or internal changes.
  • errorId=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, fingerprint=c8c9d1e2ec2bc53440e30719cb2705ac061b816a, timestamp=yyyy-MM-dd.HH:mm:ss, errorMessage=An application error occurred. Please try again later, or notify support with the error information of errorId=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental. 

Environment

SAP SuccessFactors HCM Suite

Reproducing the Issue

  1. Go to Manage Permission Groups. 
  2. Make any changes. 
  3. Error "Invalid Group Detected: The filter specification of this group cannot be restored. This can be caused by a new data model or internal changes. Please delete this group and re-create it." prompts. 

Cause

There could be two potential cause for this issue: 

1. A standard element was added in the dg-filter tag and it is causing the other filters to not work. 

    • There is only one standard element in <permission-group-filter> under <dg-filters>: it is 'custom01'. Hence, only this filter will work in dynamic filter. 
    • When you define only this standard element, then this specific standard element will be the only available standard filter in dynamic group filter. Any groups defined with other default filters but not 'custom01' before will not work any longer.

2. There are missing field on the dg-filter that was present when a permission group is created or is being used by some permission groups but got deleted and not anymore added as a dg-filter. 

Resolution

To resolve the issue: 

1. A standard element was added in the dg-filter tag and it is causing the other filters to not work. 

  • Delete this line <standard-element-ref refid="custom01"/> in <permission-group-filter> under <dg-filters>. Then, re-import the data model. This will make the default standard filters to work.
  • If in the event that you need to add a standard element in dg-filter, create a new tag and close the element using <my-filter> tag. 

Example:



Additional Notes:

  • This applies to other custom fields also, the above has been provided as an example. 
  • For CPS please see internal memo.
  • permission-group-filter can be exported from the Master Data Model. Follow 3153500 - How to Download Data Models, Picklists and other configuration files for Employee Central - SAP SuccessFactors or via Master Data Model
  • When there is no "standard-element-ref" tag configured in succession data model under "permission-group-filter" tag. If there is at least one "standard-element-ref" tag available then it checks if it valid(the ones in above documentation) then display it in Dynamic groups dropdown. Under dynamic group dropdown in Manage Workflow Groups and will also be able to open existing groups. Relevant Help Guide: How Do You Specify Which Fields to Use?
    • If you don’t specify any fields in the <dg-filters> XML configuration, then RBP defaults to display all of the possible fields listed in Standard Fields Available to Use as Filters in Permission Groups. By specifying the fields, you replace the standard filters with your own list. If you specify an unsupported field with <standard-element-ref>, the field doesn't display in the RBP Permission Groups UI.
    • Dynamic Groups dropdown shows all the standard element dg-filters which are mentioned in Standard Fields Available to Use as Filters in Permission Groups. 

2. There are missing field on the dg-filter that was present when a permission group is created or is being used by some permission groups but got deleted and not anymore added as a dg-filter. 

  • The missing fields must be added to resolve the error. To do so, either of the following method will work:
    • Via Import and Export Data Model on Provisioning - ensure to add the missing fields on the data model inside the <dg-filter> and <permission-group-filter> tags. Using the example on the Cause section of this article, the missing fields division and location are added. 

 

    • Via Manage BCUI - kindly note that steps 5 and 6 might vary depending on what the missing fields as per the comparison of the old data model between the current data model. 
      1. Go to Manage Business Configuration.
      2. Scroll down to Filters then expand Dynamic Group Filters. 
      3. Click expand and select the DGFilters
      4. Select Take Action and the Details button on the Permission Group Filter. 
      5. Under HRIS Element Reference, expand the Job Information and click Details
      6. On the pop up window, add the Division and Location fields. 
      7. Then add the fields. 

See Also

Keywords

Invalid Group Detected, permission group, dg filter, standard element, custom, filters, invalid group detected, The filter specification of this group cannot be restored. This can be caused by a new data model or internal changes.Please delete this group and re-create it,  LOD-SF-PLT-RBP, LOD-SF-PLT-DYG, dynamic group, permission group, group, manage permission groups, permission, RBP, DYG, filter , KBA , LOD-SF-PLT-DYG , Dynamic Groups (My Groups - Not RBP) , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , LOD-SF-RCM-ADM , Admin Center, RBP, Permissions and Settings , Problem

Product

SAP SuccessFactors HCM Core 2411

Attachments

Pasted image.png