You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to trigger absence workflow when absence start date is beyond 45 Days

Accepted answer
88
Views
4
Comments
edited Jul 12, 2019 1:15PM in Workforce Management 4 comments

Summary

How to trigger absence workflow when absence start date is beyond 45 Days

Content

Hi,

 

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

  1. JavaDate.subtract days from(Calendar.getInstance(),45)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!