04/20/2023 12:37 AM
Hello,
I am working on SuccessFactors integration where user base is 50k (Both Active and Inactive) , while performing user import it is taking about 4 hrs to complete job.
My requirement is to import only users who's last modified date is with in 7 days.
please help me how to pass dynamic date to compare against lastmodifiedon date in rest api call
employmentNav/jobInfoNav/lastModifiedOn+ge+<dynamic date currentdate - 7days>
04/20/2023 08:54 PM - edited 04/20/2023 08:54 PM
@GSR we are reviewing this requirement and will provide an update shortly
06/09/2023 06:21 AM
HI @GSR
You can try like below
$filter=(externalCodeOfcust_EmployeeBuildingDetailsNav/lastModifiedDateTime+gt+${new Date(System.currentTimeMillis()-(28800*1000)).format('yyyyMMddHHmmss')}
The above filter checks if last modified is in last 8 hrs, you can convert accordingly and test it.
Thanks
Darshan