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 If else resource owner condition not working

Kirti14
New Contributor III
New Contributor III

It is a serial workflow

Workflow condition:
2-level approval, first level being manager, second level resource owner

If manager approves, request goes for 2nd level (resource owner )approval.

If manager does not take action, request escalates to manager's manager

2nd level  resource owner:

if owner is specified to be considered, 

 if no owner is specified, skip 2nd level approval and grant access

In if else condition tried various query but not working:

Kirti14_0-1717146036443.png

 

Workflow:

Kirti14_0-1717145753081.png

 

@kindly help me out

 

 

7 REPLIES 7

NM
Valued Contributor
Valued Contributor

Hi @Kirti14 , try endpoints.resourceowner.size()==0

Kirti14
New Contributor III
New Contributor III

It is not working. It is working in a loop. I have approved pending request still it looping to same request.

Kirti14_0-1717150344292.png
[This message has been edited by moderator to mask sensitive info]

Kirti14
New Contributor III
New Contributor III

@NM It is not working. It is appearing in a loop to approve the manager request.

 

SSinha_
New Contributor III
New Contributor III

Try out endpoints.ownerkey == null

Kirti14
New Contributor III
New Contributor III

@SSinha_ Thank You😊

Kirti14
New Contributor III
New Contributor III

It is not working as expected
I tried for condition
endpoints.requestowner!=null
It worked fine for 24.2 version but was not working for 24.4 version
The requirement is to check resource owner present  or absent in the endpoint. But it is not redirecting to resource owner when owner is present.

Kirti14_0-1717586952642.png

@NM Kindly help me out

Can you share logs


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