Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

SuccessFactors incremental import based on lastModifiedOn date for a user

GSR
New Contributor III
New Contributor III

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>

 

2 REPLIES 2

Rishi
Saviynt Employee
Saviynt Employee

@GSR we are reviewing this requirement and will provide an update shortly

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