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

Unable to send user's termination date to SAP GRC using ${user.termDate} in SOAP payload

shruanand24
New Contributor
New Contributor

We are connecting to SAP GRC from Saviynt using SOAP connector. There is requirement to send user's termination date to 'valid to' field of user detail in SAP GRC. To accomodate this requirement we are utilizing ${user.termDate} in Create Account and Update Account payload of SAP GRC connector. However it is observed that upon user account creation in GRC, 'valid to' field is populated with a default 99991231 value, and not with the termination date selected in the user profile of Saviynt.

Please recommend a solution/workaround to pass the term date to GRC.

3 REPLIES 3

PhilR
Saviynt Employee
Saviynt Employee

CreateAccountJSON in SOAP connector:

'+(null != task.endDate ? task.endDate.format('yyyyMMdd',TimeZone.getTimeZone('America/Los_Angeles')) : '99991231')+'

CreateAccountJSON in SAP connector:

{ if (user.enddate
!= null) {
newjava.text.SimpleDateFormat('yyyyMMdd').format(user.enddate) } else {
'99991231' }}

Can we try user.termDate instead of task.endDate for SOAP connector? @PhilR 

shruanand24
New Contributor
New Contributor

@PhilR  I used '+(null != task.endDate ? task.endDate.format('yyyyMMdd',TimeZone.getTimeZone('America/Los_Angeles')) : '99991231')+' in <Valid to> of create account JSON but ticket is not getting created in GRC for this new account request.