Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/28/2024 09:06 AM
Hi,
We need to send user manager displayname not the userkey and request approver displayname in create/ update account query for DB connection.
Provide any solution to send the attributes in query.
Solved! Go to Solution.
08/28/2024 09:15 AM - edited 08/28/2024 07:27 PM
Share current JSON
for manager displayname
${user?.manager?.displayName} or ${usersManagerObj?.displayName}
You can't fetch request approval
08/29/2024 01:43 AM
${usersManagerObj?.displayName} it is worked.
And is there any logic to create dynamic attribute to fetch the username who had approved the request and send in json, in case if the approver is not the manager.
current json:
"insert into NPIT_USERS (USERID, DISPLAYNAME, EMAIL, INACTIVE, APPROVER_NAME, JOBTITLE, MANAGER) Values ('${user.username}','${user.lastname+', '+user.firstname}','${user.email}', '0', '${usersManagerObj?.lastname+', '+usersManagerObj?.firstname}', '${user.title}', ' ${usersManagerObj?.username}')"
08/29/2024 01:47 AM
Hi @sudheera , DA comes into picture only at the time of submitting the request you can't have SQL query to fetch the details.
Approves happen after request submission and approval page..
08/28/2024 07:20 PM
@sudheera
Try this out
${managerAccount?.displayName}
08/28/2024 08:59 PM
Hi @sudheera try this
${usersManagerObj?.displayName}