Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Workflow where only Admins can create a new account for a certain type of a user

Naz_A
Regular Contributor
Regular Contributor

Can you look at this workflow? I am trying to create a workflow where only admins can create a new account for a certain type of a user. But at the end it always gives me error right after I submit it. Where is the problem here? 

Naz_A_0-1683205207171.png

Thanks!

[This post has been edited by a moderator to move to its own thread.]

1 REPLY 1

nimitdave
Saviynt Employee
Saviynt Employee

Try with below:

requestedby.authorities.collect { it.authority }.contains("ROLE_ADMIN")
select groovy as type

*******************************************************

user.employeeType eq 'XT-External'