11-23-2022 08:10 AM
Team,
We are trying to enable Service Account Management as part of it we have below use cases.
Now for above listed create service account use cases we wanted workflow like this
If requestor is Rank 1 Owner
If requested by someone else
Now for above listed Modify service account use cases we wanted workflow like this
If requestor is Rank 1 Owner
If requested by someone else
We were successfully able to achieve create service account Workflow. But having hard time in modify service account workflow because except modify service account owner in all other cases we need to make the request auto approve if requestor is Rank 1 Owner. Meaning as part of modify request first we need to check the condition that modify request is submitted for which type of action. For that we need to get the details from request_access_attrs using below parameters
dynamicAttributesReqAccess.get(requestaccesskey).get('ISPAMPROTECTEDACC')
dynamicAttributesReqAccess.get(requestaccesskey).get('USEROWNERKEYADDED') dynamicAttributesReqAccess.get(requestaccesskey).get('USEROWNERKEYREMOVED')
But what we noticed is that these parameter are getting populated only when request is submitted(at least one approval has to be happen to have the parameters). But in our scenario before request submission(approval) only we need to validate request is submitted for which type of action
How can we achieve this scenario, Is there any other work around we can achieve this?