Get Started with Redwood for Oracle Cloud HCM Begin Now
Approval Rules - Convert a Date into Day of month
Requirement to set up approval rule and to check the day of the month for an Absence start date in order to apply some logic.
Eg If Absence start day <15 then...
So need to convert absencesApprovalsRequest.absenceStartDate into the Day of the month integer.
In "configure rule conditions", the following parses "OK"
(absencesApprovalsRequest.absenceStartDate.GregorianCalendar.DAY_OF_MONTH < 15)
But then when save rule, receive following error: RUL-05720: data type mismatch for test "<": java.util.GregorianCalendar < String
** UPDATE **
Now resolved - Have to do via BPM worklist.
Formula : (absencesApprovalsRequest.absenceStartDate.day between 1 and 15)
This can now be closed
Tagged:
1