Symptom
How to add fields to the Dynamic Role Assignment object to be able to use more filters in the Dynamic Role configuration
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 HXM Suite
- SAP SuccessFactors Employee Central
Resolution
It is possible to add Foundation Object and Generic Object fields to the Dynamic Role Assignment object (dynamicRoleAssignment) in the Corporate Data Model. When adding the filed, you must reference "jobInfo". See the example below -:
<hris-element id="dynamicRoleAssignment">
.....
<hris-field id="jobInfo.custom-string8" visibility="both">
<label>Sub Division</label>
</hris-field>
The field configuration is inherited from the Succession Data Model so the field in the Corporate data model must have the same visibility that is configured in the Succession Data Model.
Important Information:
- Foundation Object and Generic Object fields are the only types of fields supported by Dynamic Roles - available field for FO and GO can be found on our implementation guide.
- Legacy Picklists are not supported
- Fields with type="worker" are not supported
FAQ - Additional Information
Q) Where can I get information on this from the guide?
A) Guide: Employee Central Workflows: Implementation and Administration
Chapter: Chapter: Creating a Dynamic Group and Creating a Dynamic Role
See Also
Keywords
Dynamic role, Dynamic Role assignment, corporate data model, succession data model, Create, Dynamic Role Filter, dynamicRoleAssignment, ECT-113382, FOO , Foundation object, custom field, application error, error : Invalid file format specified. Please ensure the imported file is in XML format. org.xml.sax.SAXException: cust_GO_OrgUnit1 is not a supported type for hris field jobInfo.custom-string2 in dynamicRoleAssignment HRIS Element , KBA , LOD-SF-EC-RBP , Roles & Permissions (EC Core only) , LOD-SF-EC-WFL , Workflows - Configuration, Tools, Objects & Rules , LOD-SF-EC-FOO , Foundation Objects (Organisation, Pay and Job Structures) , How To