When trying to edit/crerate a scheduled job in Provisioning, we are getting the following error message, see below:
fingerprint ID = "b5b63b02133216800ab5262bf4181f7ee3712a27"
(For SAP use only) Splunk logs should show:
Error getRoleIdsRuleIdsMap for baseUserId [null]
com.successfactors.rbp.app.api.RBPFacadeException: Error getRoleIdsRuleIdsMap for baseUserId [null] at com.successfactors.rbp.app.api.impl.RBPFacadeImpl.getRoleIdsRuleIdsMap(RBPFacadeImpl.java:1925)
SAP SuccessFactors HCM Suite
Reproducing the Issue
Provisioning > Manage Scheduled Jobs > Create New Job > Select Job Type as Ad Hoc Reports Export > Add Job Parameters for Report that does not work.
This issue happens when the module team uses params while populating the sub domain schema.
In MDFRBPFacadeImpl.getRuleIdsByMDFPermission(), we get current user from ParamBean. However, in provisioning, we do NOT initialize current user for param bean, that's why it throws error getRoleIdsRuleIdsMap for baseUserId [null] .
The Resolution is to do refresh Metadata and export and then we shall use MDF Clear Cache Tool to clear the server cache.
OData Metadata Refresh and Export
Follow below steps to refresh metadata:
1. Go to Admin Centre;
2. Under "Company Settings", click the link "OData Metadata Refresh and Export";
- When you click Refresh, you will see the message “Refresh Successful!” after metadata gets refreshed. The updated metadata will be re-generated and saved into the cache for further usage such like export metadata.
MDF Cache Tool
- Access Provisioning;
- Search for MDF Cache Tool and Click on "Clear cache".
- Click on "Click to Clear Cache" as shown in below screenshot:
Please clear the browser Cache and after this activity, we should not see any issues in running the jobs in provisioning.
If this issue still not resolved, then contact Product Support raising an incident to Support.
Development are working on having this issue permanently resolved in the b1905 release as per AYT-23717.
b5b63b02133216800ab5262bf4181f7ee3712a27, ad hoc, scheduled job, provisioing, reporting, manage scheduled jobs, MDF, params , KBA , LOD-SF-ANA , Analytics & Reporting (Ad Hoc, ORD) , LOD-SF-PLT , Foundational Capabilities & Tools , Bug Filed