and more in a single search tool across platforms. Read the announcement here. |
03/19/2024 04:33 AM
HI.
In Register User Form, I set as below for Department attribute and Manager Attribute.
The point is that Department attribute is set to Manager's departmentName automatically.
<Department attribute>
select departmentName as ID from users where username=${manager}
<Manager attribute>
In this configuration, go to User Management > Create User Request and create user with specifing manager.
Then, the user's Department name is set to Manager's Department Name automatically. This is expected behavior.
Then, go to User Management > Update User Request and update the user's manager(belonging to another department).
But, the user's Department name is changed to new manager's department name.
This is the issue.
How to reflect new manager's department name to user's department name when change user's manager from Update User Request?
Best Regards,
Solved! Go to Solution.
03/19/2024 04:49 AM
03/19/2024 05:28 AM
03/19/2024 09:53 AM
@KK, the ss has manager and manager department name, right? How is user department name configured?
03/19/2024 06:19 AM
@KK Here based on Manager , Department u displaying right?
03/19/2024 07:25 PM
@PremMahadikar @CR
User's department name is set to manager's department name automatically by below query for user's department.
select departmentName as ID from users where username=${manager}
User's department name is set automatically when creating user as expected, but, that is not updated automatically when updating user's manager. This is the issue.
Best Regars,
03/19/2024 10:44 PM
Use "Refresh" mapping in Department attribute try it
03/20/2024 05:52 AM
@KK ,
Can you make the same configuration as shown below in departmentname attribute: (Make it editable and mandate so that the user should select that one single value in drop down after manager is updated)
For update/modify, user should always select the value from drop down. (This is tested and user's department is updated post submit)
If this answers your questions, please consider selecting Accept As Solution and hit Kudos
03/20/2024 04:38 AM
@CR
You mean that specify "Refresh" in "What action to perform when Parent attribute changes?" of departmentname attribute?
I set as below for departmentname attribute, but the user's department name is not updated after change manager from Update User Request.
03/20/2024 10:40 AM
yes
03/20/2024 05:40 PM
@PremMahadikar @CR
Thank you.
This does not work in my environment, but this may be specific configuration issue in my environment. So I will check the configuration in my environment.
Thanks
Best Regards,
03/21/2024 03:07 AM
Hi @KK ,
Sure!
But the functionality is this - for update/modify, user should always select the value from drop down. (This is tested in 24.1v and user's department is updated post submit)
Will also share below the complete config for department DA which I configured, this should help you to debug further in 23.11v.
And for Manager DA - query used - select username as ID from users and 'What action to perform when Parent attribute changes?' - I have config - Mapping
Query used - select departmentName as ID from users where username=${manager}
03/21/2024 03:14 AM
@PremMahadikar
Thanks.
03/21/2024 03:17 AM
Which version are using @KK ?
Yes @PremMahadikar for update/modify will use in user update page?did you tried it working
03/21/2024 03:19 AM
@CR
I use v23.11