Absence validations when requesting in ServiceNow

zoeverkaik
Tera Contributor

Hi everyone,

 

We are looking to enable employees & managers to enter absence (primarily LoA's) in ServiceNow. Requests will be triggers for lifecycle events; we plan to use the Employee Packs.

 

However, we would like validations to take place in ServiceNow as well, to make sure requests are only submitted if they fulfill the entitlement/timing requirements. For example... If I have a right to take 16 weeks of maternity leave, ServiceNow should not allow me to request 17 weeks in the first place.

 

These validations currently exist in our systems of records (Workday/ADP). This means that an employee will not be able to submit an absence if they do not fulfill the validation requirements. Therefore, it will not work to send the request from ServiceNow to Workday/ADP, have Workday/ADP reject it and send it back to ServiceNow. Workday/ADP will not reject it as it will not be submitted in the first place.

 

We are curious to hear if anyone else has been able to do this and if so, which approach was taken?

 

Thank you.

2 REPLIES 2

Susan Britt
Mega Sage
Mega Sage

If you are entering the request in ServiceNow via a record producer, the variables/questions on the form would need to include the expected start and end dates for the leave. Then you can have Catalog Client Scripts running onChange of both dates to calculate the time difference to ensure you are not going over the limit.  If the dates do exceed, you can pop-up an error and prevent submission.

Hi Susan, 

I am using the Parental Leave Demo (Journey Designer v5) Service - It has life cycle activities. Can we define Eligibility rules, validation requirements, and Calculations for Benefits/Pay off in ServiceNow HRSD. If Yes, then please tell me how and where?