and more in a single search tool across platforms. Read the announcement here. |
04/10/2024 02:57 AM
Hi Team,
Do we have any way to restrict number of users requested as owners by the requestor while creation of AD groups request.
And we also want the requestor to select owner type as user and not usergroup. Is this possible? If yes, please share me the steps .
04/10/2024 08:28 PM
You can't hide User Group option but you can auto reject in workflow
We are only allowing 1 owner of User Type
String.valueOf(dynamicAttributesReqAccess.get(requestaccesskey).get('USERRANKJSON')).count(':[1]')==1 and ! (String.valueOf(dynamicAttributesReqAccess.get(requestaccesskey).get('USEROWNERKEYADDED')).contains(',')) and ! (String.valueOf(dynamicAttributesReqAccess.get(requestaccesskey)).contains('USERGROUPOWNERKEYADDED'))