cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Current date comparison with SF start date in CPI

Richie_Halpagoda
Participant
0 Kudos
1,035

hey Gurus,

I have basic knowledge in CPI and trying to add a filter on the data getting from SuccessFactors.

I have added a groovy script to get the current date and push that property to the next step to compare the start date. Main reason for this is if someone has a duplicate record on the hire date, I want to pull that user into this query.

Richie_Halpagoda_0-1729570318964.png

my groovy script: 

Richie_Halpagoda_1-1729570360313.png

Added a filter in SF query - make sure all new hires/rehires and also if they have duplicate record on the hire date to pull to the query.

Richie_Halpagoda_2-1729570423224.png

However, I didn't get any out put because some how users with duplicate records on the hire date get skipped. 

My SF system is in DC66. Can someone tell me if my logic is correct or if not what would be the correct logic. 

Cloud Integration SAP SuccessFactors HCM Suite 

Accepted Solutions (0)

Answers (0)