Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/08/2024 01:32 AM
Hi all,
I have a workday connection with the UserUpdateJSON to writeback the SystemUserName to workday. I configured a user update rule to trigger the task to update the user if SystemUserName is update. The pending tasks are getting triggered, but the provisioning job is not picking up the pending task. I tried passing the SecuritySystem name and also the taskid in advance query, both options didnt work. I don't see any error as well in logs. The UserUpdateJSON has the same payload as the one thats working on Postman.
Please find attached the UserUpdateJson i configured in the workday connection.
Appreciate your help in resolving this issue.
Thanks,
SP
08/08/2024 01:41 AM
Hi @sp , select task type -user update in wsretry job and also hopefully automated provisioning is enabled.
08/08/2024 01:51 AM
Yes, automated provisioning is enabled. And I did try the provisioning job with the task type as user update. even then the task is not getting updated.
08/08/2024 02:02 AM
Hi @sp please share the wsretry configurations.
08/08/2024 02:43 AM
Here's the screenshot of the job.
08/08/2024 04:07 AM
@sp thanks for the screenshot. The configuration looks good. Do you see any error in logs once you execute the job? Can you please share the logs? Also, can you please check if the WD connection status is "successful"?
08/08/2024 04:29 AM - edited 08/08/2024 06:31 AM
Please find attached the logs.
I see the task id in the logs: 1117712. No errors though.
08/08/2024 05:35 AM
@sp I see a JSON parser error. Please check the JSON once
08/08/2024 05:57 AM
[
{
"REQUESTXML": "${user.systemUserName != null && user.systemUserName != '' ? ('<soapenv:soapenvelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/soapenvelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">' +\n" +
"' <soapenv:Header>' +\n" +
"' <wsse:Security soapenv:mustUnderstand=\"1\" xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-1.0.xsd\">' +\n" +
"' <wsse:UsernameToken>' +\n" +
"' <wsse:Username>' + username + '</wsse:Username>' +\n" +
"' <wsse:Password>' + Password + '</wsse:Password>' +\n" +
"' </wsse:UsernameToken>' +\n" +
"' </wsse:Security>' +\n" +
"' </soapenv:Header>' +\n" +
"' <soapenv:Body>' +\n" +
"' <wd:Workday_Account_for_Worker_Update xmlns:wd=\"urn:com.workday/bsvc\" wd:version=\"v42.0\">' +\n" +
"' <wd:Worker_Reference>' +\n" +
"' <wd:Employee_Reference>' +\n" +
"' <wd:Integration_ID_Reference>' +\n" +
"' <wd:ID wd:System_ID=\"WD-EMPLID\">000805</wd:ID>' +\n" +
"' </wd:Integration_ID_Reference>' +\n" +
"' </wd:Employee_Reference>' +\n" +
"' </wd:Worker_Reference>' +\n" +
"' <wd:Workday_Account_for_Worker_Data>' +\n" +
"' <wd:User_Name>' + user.systemUserName + '</wd:User_Name>' +\n" +
"' </wd:Workday_Account_for_Worker_Data>' +\n" +
"' </wd:Workday_Account_for_Worker_Update>' +\n" +
"' </soapenv:Body>' +\n" +
"'</soapenv:soapenvelope>') : ''}"
}
]