SAP Knowledge Base Article - Public

3495188 - onChange business rule evaluating country-of-company previous value as Null - Employee Central

Symptom

It is not possible to use Previous Value from country-of-company for a business rule set as onChange on another jobInfo field.

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

Firstly, you need to create a simple onChange rule with the expression IF Job Information Model.Country.Previous Value is equal to Job Information Model.Country.Value or vice-versa. Then:

  1. Certify you have created another expression to trigger rule when changing field value
  2. Place it in Manage Business Configuration > jobInfo > Field you are using to change to trigger rule
  3. Prepare Rule Trace as per KBA2257064
  4. Make changes in Profile to trigger study rule
  5. Download Rule Trace

You'll see that "jobInfo_country_of_company.previousValue" is considering Value= Null.

Cause

Hard-coded field as per Product Design.

Resolution

Expected Behavior once this field depends on Picklist ID: ISOCountryList and it's associated to Legal Entity.

In alternative, use the expression to navigate to Country within the Company, for example "Job Information Model.Company.Previous Value.Country". 

Refer to Guide: Job Information.

See Also

Guide: Event Types for HRIS Elements and HRIS Fields.

Keywords

country-of-company, legal entity, ISOCountryList, picklist, job information, jobInfo, business rule, onChange, hard-coded, employee central, employee profile, successfactors, SF, EC, EP  , KBA , LOD-SF-EC-JOB , Job Information , LOD-SF-EC , Employee Central , LOD-SF-EC-JOB-RUL , Job Info Business Rules , How To

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM Suite all versions