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

Start Date and End Date are same and Job failed to import Users

sandeepgudipudi
New Contributor III
New Contributor III

There are users whose Start Date and End Date are same and while importing Users the Job failed to import Users due to same date in start and end date field. Is there a way to ignore the restriction of checking start and end dates

4 REPLIES 4

Raghu
Valued Contributor III
Valued Contributor III

Reason of failure job in logs?


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

rushikeshvartak
All-Star
All-Star

This is known behavior. Use preprocessor to change end date to end date +1 using preprocessor  


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Can you provide preprocessor query if startdate and end date is same, change end date to end date+1

Sample

{
"ADDITIONALTABLES": {
"USERS": "SELECT username, enddate FROM USERS"
},
"COMPUTEDCOLUMNS": [
"enddate"
],
"PREPROCESSQUERIES": [

"UPDATE NEWUSERDATA SET NEWUSERDATA.enddate = DATE_ADD(NEWUSERDATA.enddate, INTERVAL 1 DAY) WHERE NEWUSERDATA.startdate = NEWUSERDATA.enddate"
]
}


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.