Symptom
Managing Conditional Groups and Defaults not setting default value, it is blanking the field.
Rule Trace example:
[Function] Call function 'getLegacyPickListDefaultValue' with parameters 'parameterName', 'null', 'null'. Result: 'null'. Duration: 64 microseconds.
[Retrieve] The expression 'getLegacyPickListDefaultValue(toTypeInstance("go_mdf", "DefaultingField", "12345"),nil,nil)' could not be evaluated completely as the property 'getLegacyPickListDefaultValue(toTypeInstance("go_mdf", "DefaultingField", "12345"),nil,nil)' is found to be NULL. Evaluation result is NULL.
[Set] Set property 'jobInfo.fieldID' to value 'null' in modified object 'Employee (12345)''
Images/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
Cause
Missing the option in the rule for Job Information.
Resolution
You may include Job Information in the customer’s rule as well so the system knows where the data change is coming from – so the second parameter for (optional) Job Information should look like the screenshot below.
** The rule will set the Compensation Information.Pay Group field with the return value of the function Get Generic Object Default Value() based on the “Pay Group” configuration (first parameter on the right-hand side) and based on the data record being changed which contains the “employer/employee group leading fields” (in this case is Job Information – second parameter on the right-hand side)
See Also
Managing Conditional Groups and Defaults
3110461 - Manage Conditional Groups and Defaults Objects and Permissions - ECT-155716 - 2H 2021
Keywords
KBA , LOD-SF-EC-JOB , Job Information , How To