and more in a single search tool across platforms. Read the announcement here. |
10/25/2023 09:26 AM
Hi Saviynt Team,
We need to find a logic to just to pull future start date user records. Write now I am trying to use below suggestions from related forums
I have added this function in ConnectionJSON and trying to call that in ImportUserJSON
But its not working getting [error:Error Illegal character in query at index 2470:
Please let me know what may be the issue
Solved! Go to Solution.
10/25/2023 11:10 AM
Please follow below sample
$filter=employmentNav/jobInfoNav/startDate+gt+datetime'${new Date(Calendar.getInstance().getTimeInMillis()).format('yyyy-MM-dd')}T00:00:01'&fromDate=${new Date(Calendar.getInstance().getTimeInMillis()).format('yyyy-MM-dd')}&toDate=${new Date(Calendar.getInstance().getTimeInMillis()+(15*86400000)).format('yyyy-MM-dd')}
10/25/2023 12:19 PM - last edited on 10/30/2023 09:59 AM by Dave
Getting the same error @GSR
[This post has been edited by a Moderator to remove tags to employees and other forum users.]
10/31/2023 01:09 AM
10/31/2023 03:05 AM - last edited on 10/31/2023 03:18 AM by Sunil
Hi @Dhruv_S ,
This issue is resolved please ignore it, please find the below JSON to use in URI for get the future dated records
%24filter=startDate%20gt%20datetimeoffset'${Calendar aa=Calendar.getInstance();aa.getTime().format(\"yyyy-MM-dd'T'H:mm:ss'Z'\")}'",
thanks,
Rahul
[This message has been edited by moderator to remove hyperlink]