Populate date and time depends on choice

charitha ts
Tera Contributor

I am working for Record Producer (RP table is HR payroll case) for workday integration for HRSD 

 

1. variable is What date/dates is this request for? and logic is If selected date is within 2 weeks of today's date and the choice is Vacation. Then display a pop-up message. Vacation requests must be at least 2 weeks in advance and will require additional approvals if you wish to proceed. felid type is Date and time.

 

2. variable is Exception Reason variable type is multiline text and logic is Display if If selected date is within 2 weeks of today's date and the choice is Vacation.

 

Can anyone help in code please 

 

Thanks in adavnce

Charitha TS