Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 01:04 PM
Hello,
I need to set user group in SAP based on role assigned to users.
Like I gave role A to user ABC123 and user group A push to account ABC123 in SAP.
Is there a way to achieve this ?
Regards,
Gwenhaël
Solved! Go to Solution.
04/12/2022 02:17 PM
Hi Gwenhaël,
Please use below format to assign SAP group based on user SSM role.
Identity Repository -> Connections -> SAP -> CreateAccountJSON -> LogonData tag ->
CLASS:${if(task?.assignedFromRole!=null&&role?.role_name.equalsIgnoreCase('SSMROLE1')){'SAPGROUP1'}
else if(task?.assignedFromRole!=null&&role?.role_name.equalsIgnoreCase('SAPROLE2')) 'SAPGROUP2' else{'DEFAULT_SAPGROUP'}}
Regards,
Kiran Kumar