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 condition : Request to be auto-approved if the requestee is a part of a specific usergroup

Dhiraj_Yadav_1
New Contributor III
New Contributor III

Hi Rushi,

I have a same requirement where I want the request to be auto-approved if the requestee is a part of a specific usergroup and I used your query in If else block with Groovy language:

Dhiraj_Yadav_1_0-1710333416659.png

 

But I am receiving below error message in UI when I try to submit a request:

The server encountered an error and cannot complete your request.

When I checked logs, I find this error regarding the if else condition:

Caused by: groovy.lang.MissingPropertyException: No such property: requestedfor for class: Script2"

We are currently working on Saviynt 23.8 and it seems requestedfor is not exposed in 23.8

Could you please advise on the same also could you please suggest how can we find its alternative field to use in the condition

Thanking you in anticipation,

Dhiraj

 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Change to User from requestfor

better to create new forum post


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Manu269
All-Star
All-Star

@Dhiraj_Yadav_1 check this post :

Solved: Workflow - If/Else condition to check if Requestby... - Saviynt Forums - 10021

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.