For more information, please refer to this announcement explaining best practices for getting answers to questions.
Alerts - Expression for Enterprise Hire Date
Summary:
Hi,
I created an Alert to notify the Line Managers of the upcoming probation end date of their workers. The filter should be for all workers who have been hired (newly hired in the system). The Alert must trigger 2 months after their hire date. The issue is that global transfers were included, and the LM and workers received an alert which should not be. I believe that I must use the enterprise hire date, but I can't see it on the options under expressions.
Below are the expressions I used.
Resource: workers
Expression:
exists ( Select 'x' from per_all_assignments_m paam , per_periods_of_service ppos where paam.person_id =${PersonId} and ppos.date_start <= TRUNC(ADD_MONTHS(SYSDATE, -2 )) and ppos.date_start >= TRUNC(ADD_MONTHS(SYSDATE , -2 )) and paam.period_of_service_id = ppos.period_of_service_id)