How to trigger absence workflow when absence start date is beyond 45 Days
SummaryHow to trigger absence workflow when absence start date is beyond 45 Days
I am trying to configure the approval for absence like below
When absence start date is lesser than 45 from today needs to be trigger to HRBP[Representative].
Can I know how to get the current date and deduct 45 days and compare with absence start date in manage workflow rules.
I did tried below but its not working
Add the criteria attributes [absencesApprovalsRequest.absence startdate] >= and used below three function combinations but not working , let me know if you have come across this scenario
- JavaDate.subtract days from(Calendar.getInstance(),45)