What's new in Customer Journeys?

Connect and learn more! ×
Alerts - Resource Expression for Enterprise Hire Date — Cloud Customer Connect
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

Alerts - Resource Expression for Enterprise Hire Date

Received Response
18
Views
3
Comments

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 3 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, -3 )) and ppos.date_start >= TRUNC(ADD_MONTHS(SYSDATE , -3 )) and paam.period_of_service_id = ppos.period_of_service_id)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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