Click HERE to see how Saviynt Intelligence is transforming the industry. |
10/08/2024 02:17 AM
Hi,
Trying to fetch last logon date from a rest connector but the date format is in GMT, dates not getting updated in last logon date in accounts table.
Config used:
"dateFormat": "yyyy-MM-dd'T'HH:mm:ss",
"colsToPropsMap":
"LASTLOGONDATE" : "lastLoggedTime~#~date" --> not working
"LASTLOGONDATE" : "lastLoggedTime~#~datetime" --> not working
"lastlogondate" : "${SimpleDateFormat simpleformat = new SimpleDateFormat(\"YYYY-MM-DD HH:MM:SS\"); return simpleformat.format(lastLoggedTime)}~#~datetime" --> Not working
Above image has the date in logs but not getting updated.
API doc timing:
Solved! Go to Solution.
10/08/2024 02:21 AM
LASTLOGONDATE" : "#CONST#reaponse.lastlogindate.format('MM-dd-yyyy')}~#~date"
@vivekmistry try abive
10/08/2024 02:37 AM - edited 10/08/2024 02:37 AM
Started working with global setting Thanks 🙂
{
"globalSettings": {
"dateFormat": "yyyy-MM-dd'T'HH:mm:ss"
},
10/08/2024 02:42 AM
@vivekmistry did you assign the lastlogin date directly?