Page 1 of 1

Element Skip Doesn't work seems

Posted: Fri Sep 02, 2022 10:52 am
by STARRK
I have created a skip rule element and its very simple:

inputs are SKIP_FLAG(TEXT)

alias EMPLOYEE_ANNUAL_LEAVE_FROM_DATE_ENTRY_VALUE as FROM_DATE
alias EMPLOYEE_ANNUAL_LEAVE_RETURN_DATE_ENTRY_VALUE as RETURN_DATE

default for PAY_PROC_PERIOD_START_DATE is '01-JAN-1952'(DATE)
default for PAY_PROC_PERIOD_END_DATE is '31-DEC-4712'(DATE)
default for FROM_DATE is '01-JAN-1952'(DATE)
default for RETURN_DATE is '31-DEC-4712' (DATE)
default for SKIP_FLAG is 'Y'




if ((RETURN_DATE was not defaulted) AND (FROM_DATE <= PAY_PROC_PERIOD_END_DATE)) then
(SKIP_FLAG = 'N')

else
(SKIP_FLAG = 'Y')

return SKIP_FLAG




assigned to the element, however, the element is getting processed and not skipped when the requirement met