We have onboarded new application as transaction assistant as jdbc source, we are able to pull the accounts and entitlement information with the help of SQL queries.
But we would need to have the Role ID and name to be displayed under user account and its not working as expected with current queries , could you please have a look and let us know ?
Here are the queries which we have updated in account and group query settings:-
Account query:-
SELECT role.[RoleID] as RoleName
,usr.[UserID] as UserUserID
,usr.[Name]
,usr.[Email]
,usr.[CreateDate] as UserCreateDate
,usr.[isActive]
,usr.[PwdCreatedDate]
FROM [TIINT].[dbo].[Role] role
INNER JOIN [TIINT].[dbo].[UserRole] userrole ON role.RoleID = userrole.RoleID
INNER JOIN [TIINT].[dbo].[User] usr ON usr.UserID = userrole.UserID
WHERE role.RoleType='group';
Group query:-
SELECT role.[RoleID]
,role.[RoleName]
,role.[RoleType]
,role.[FormViewLevel]
,role.[FormEditLevel]
,role.[ApplicationRoleID]
FROM [TIINT].[dbo].[Role] role
WHERE role.RoleType='group';
Currently we have updated the description manually under entitlements tab, but we want to aggregate the description from source itself.
RoleID and Rolename is needed to be displayed as the Name and Description respectively in IDN UI.
I am attaching the screenshot of everything for proper information.