and more in a single search tool across platforms. Read the announcement here. |
04/25/2023 08:02 AM
Hi All,
We have a requirement to push enddate to SAP application when user is terminated in Saviynt. We tried below syntaxes to push enddate/sysdate however it did not work.
1.
{ "LOGONDATA": { "GLTGB": "${user.enddate}" } }
2.
{"LOGONDATA":{
"GLTGB": "99991231"
}
3.
{"LOGONDATA":{
"GLTGB": "${java.time.LocalDate.now()}"
}
}
4.
{"LOGONDATA":{
"GLTGB": "${new java.text.SimpleDateFormat('yyyyMMdd').format(Calendar.getInstance().getTime())}"
}
}
}
Please help us with correct syntax if anyone has worked on same requirement.
Thanks,
Sonali
04/25/2023 08:21 AM
Can you give try to below and check if it works?
new java.text.SimpleDateFormat('yyyyMMdd').format(user.enddate)
Thanks
04/25/2023 10:25 AM
Could you try something like this?
"GLTGB": "${(new java.text.SimpleDateFormat('yyyyMMdd')).format(new Date())}",
-Siva
04/25/2023 10:47 AM
what is type of task
04/25/2023 11:36 AM
Type of task is update account task.
Thanks,
Sonali