You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Get Started: AI Resources for Oracle Cloud HCM – Go Here

Progress with Redwood: Redwood Resources for Oracle Cloud HCM -  Go Here

An attribute in the rule has a null value.

edited Nov 8, 2024 7:56AM in Human Capital Management 3 comments

Hi,

We have a requirement that the transaction should go for an approval when there is a change in employee's country or region, this is working fine when we edit the existing address but if we add an new address for the employee who doesn't have any address then the transaction is going into error.

Error - An attribute in the rule has a null value.

Rule: ((transactionApprovalRequest.ViewInstanceName equalsIgnoreCase "PersonAddress") AND (Worker's Assignment.legislationCode equalsIgnoreCase "US") AND (((Current Person Address.result.country == "null") AND (Proposed Person Address.result.country != "null")) OR (((Current Person Address.result.country != "null") AND (Proposed Person Address.result.country == "null")) OR (((Current Person Address.result.country != "null") AND (Proposed Person Address.result.country != "null") AND (Current Person Address.country != Proposed Person Address.country)) OR (((Current Person Address.region1 == "null") AND (Proposed Person Address.region1 != "null")) OR (((Current Person Address.region1 != "null") AND (Proposed Person Address.region1 == "null")) OR ((Current Person Address.region1 != "null") AND (Proposed Person Address.region1 != "null") AND (Current Person Address.region1 != Proposed Person Address.region1))))))))

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!