Get Started with Redwood for Oracle Cloud HCM Begin Now
Related Person Change Causes Life Event - Trigger only when Child is less than 15 days
in Benefits
We have a requirement where the Life Event should only trigger if the Child added is less than 15 days old. We tried using Related Person Change Causes Life Event with the following set up. But the formula seems not to work, it keeps on triggering when a child is added.
Formula Text:
DEFAULT_DATA_VALUE FOR PER_PER_CONT_REL_CONTACT_TYPE IS 'X'
DEFAULT_DATA_VALUE FOR PER_PER_CONTACT_DATE_OF_BIRTH IS '1951/01/01 00:00:00'(DATE) i = 1
l_output = 'N'
ld_current_date = GET_SYSDATE()
ld_date_before = ADD_DAYS(ld_current_date, -15) WHILE PER_PER_CONT_REL_CONTACT_TYPE.EXISTS(i) LOOP
0