Validate Termination Based on Assignment Status Null Pointer Exception
Summary:
Trying to prevent Terminations for Employees that are currently on a Leave of Absence by cloning the delivered Validate Termination based on Assignment Status autocomplete rule. Receiving a java.lang.NullPointerException at 'PeriodofService EO' validation rule error when creating an Offer.
Content (please ensure you mask any confidential information):
Rule Type = Object Validation Rule Type
Business Object = Worker Work Relationship
Attaching 2 different versions of the autocomplete rule. Both work when attempting to process a termination for an employee who is currently out on a leave of absence. When an Offer is created, a NullPointerException error comes up and blocks us from moving forward with the offer creation. Attaching details of the error.