Symptom
Requirement:
Business rule to check if a user is part of multiple permission groups. (say 30 permission groups). But instead of adding 30 different permission group names in a business rule, how can the rule be used to fetch substrings of these permission groups.
For Example, there are permission groups like System Admin 1, System Admin 2, System Admin 3 etc. Use business rule to check if the user belongs to a permission group having text 'System Admin'.
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 Employee Central - Rules
Resolution
- It's currently a limitation.
- We can use the Substring() function inside the Is User In Permission Group() rule function but it doesn't fetch the desired results.
This rule will work.
This rule will work but the complete permission group name has to be provided.
These rules won't work.
Keywords
Business Rule, Is User In Permission Group, Substring, permission group name , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , How To
Product
Attachments
Pasted image.png |