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

Error when workflow comes to null value

Received Response
edited Jan 1, 2022 9:37PM in Compensation 2 comments


As a rule, I have the following condition

at least one

{RequestorDetails is a RequestorDetails and RequestorDetails.Job Level same or more than 3 }

but when it is from a certain BU it does not have a Job Level registration and the value is null.

Then the following ERROR happens:

Attempted to invoke method "doubleValue" in class "java.math.BigDecimal" on a null object reference. at line 28 column 13 in /Ruleset(ChangeSalaryApprovalRules)/Rule(PP_Gestor_All_BRA)/Pattern(v1_RequestorDetails)/Test[1]

Is there a possibility to treat the null value in the IF condition of the workflow?

Has anyone ever experienced this?

Howdy, Stranger!

Log In

To view full details, sign in.


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