Workflow condition for roles having no users

Sucheta
New Contributor III
New Contributor III

Hello,

Usecase is to auto approve 'delete role' operation only if role has no users in it. so,

if role have no users >> auto approve role deletion

if role have user(s) in it >> auto reject role deletion

Looking for the workflow variables that would check user's association to the role? 

Thanks!

7 REPLIES 7

naveenss
All-Star
All-Star

Hi @Sucheta here when you say "delete role", are you deleting the role from the roles page? admin > identity repository > roles

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Sucheta
New Contributor III
New Contributor III

@naveenss , Yes, that's correct. 

Thanks!

naveenss
All-Star
All-Star

@Sucheta for role deletion the role modification workflow will not be triggered. 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Sucheta
New Contributor III
New Contributor III

@naveenss , okay is there any workaround to have conditional role deletion then?

Thanks!

@Sucheta  I don't think it is possible currently. Please raise an enhancement request in the ideas portal. 

https://ideas.saviynt.com/

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

rushikeshvartak
All-Star
All-Star

Does it triggering workflow in v23.7 ?

@rushikeshvartak No, it does not. Workflow present for role modification only.

Thanks!