Showing results for 
Search instead for 
Did you mean: 

To check absence exist

0 Kudos

Hi Experts,

We have a time type - marriage leave and a mandatory field which has option if the leave is for Self or Child. There is no time account type and take rule validation is there to check if timeoff: marriage leave - Self doesn't exceed 10 days and marriage leave - Child doesn't exceed 5 days

Requirement is to allow employees to take marriage leave - Self and marriage leave - child only once in the tenure with the organization.

Has absence in period only checks at the time type level - marriage leave, there is no standard function to check check marriage leave along with mandatory field value.

Is there any work around solution for this requirement.



Accepted Solutions (0)

Answers (1)

Answers (1)

Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Sriram,

You can try using Lookup() rule function in addition to Has absences in Period(). With the lookup rule function you can check, provided that there is an absence, if the custom field is set the same as the absence which is being created. This should work.

Kind regards