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

How to fetch the Primary certifier in workflow

sukoor
New Contributor II
New Contributor II

Hi Team,

I have a requirement to get the primary certifier check in if else block in workflow.

Tried as below , but not able to submit the request .

When we tried with Rank1 it is working but when we try with Rank 26 it is not working.Please check and suggest.

error : Request not Submitted. Please contact your administrator.

In Logs it was showing MethodNotFoundException

sukoor_2-1718178273023.png

 

workflow details:

entitlement.getOwnerRank26().contains(user.username) eq true or entitlement.getOwnerRank26().contains(requestedby.username) or requestedby.username == user.username

sukoor_1-1718178043872.png

REgards

Abdul

 

6 REPLIES 6

PremMahadikar
Valued Contributor II
Valued Contributor II

Hi @sukoor ,

Primary and Secondary Certifier should be used for Certification related use cases.

For other processes, please use the Ranks. You should be able to add the same user as Ranked and use them in workflow. Example below:

PremMahadikar_1-1718186591433.png

Reference article: Solved: Role Owner Rank Issue in Workflow - Saviynt Forums - 7867

 

 

If this helps, please consider selecting Accept As Solution and hit Kudos

sukoor
New Contributor II
New Contributor II

Hi Prem Mahadikar,

I already tried with Rank26 in workflow as shown in below screen shot ,but it is failing with Method not found exception .

Please check and suggest.

sukoor_0-1718187618683.png

 

Logs:

"2024-06-12T06:18:08.450+00:00","ecm","","null-54fzh","","2024-06-12T06:18:07.597803809Z stdout F 2024-06-12 06:18:07,597 [http-nio-8080-exec-9] DEBUG services.WorkflowService - Request Access count Map [NEW_ACC_REQUESTS_COUNT:0, ADD_ACCESS_REQUESTS_COUNT:1, REMOVE_ACCESS_REQUESTS_COUNT:0, MODIFY_ACC_REQUESTS_COUNT:0, DELETE_ACC_REQUESTS_COUNT:0]"
"2024-06-12T06:18:08.450+00:00","ecm","","null-54fzh","","2024-06-12T06:18:07.597808709Z stdout F 2024-06-12 06:18:07,597 [http-nio-8080-exec-9] DEBUG services.WorkflowService - ffidpreapprovedmap = [:]"
"2024-06-12T06:18:08.450+00:00","ecm","","null-54fzh","","2024-06-12T06:18:07.644858904Z stdout F 2024-06-12 06:18:07,644 [http-nio-8080-exec-9] ERROR services.WorkflowService - Exception in workflow service"
"2024-06-12T06:18:08.450+00:00","ecm","","null-54fzh","","2024-06-12T06:18:07.644899604Z stdout F javax.el.MethodNotFoundException: Method not found: class com.saviynt.ecm.identitywarehouse.domain.Entitlement_values.getOwnerRank26()"

 

sukoor
New Contributor II
New Contributor II

I assume you were aware that

Rank26 = Primary Certifier

sukoor
New Contributor II
New Contributor II

Hi Prem,

I got you point after seeing your screen shot , let me try and get back to you

 

sukoor_0-1718188318502.png

Regards

Abdul

sukoor
New Contributor II
New Contributor II

Hi Prem,

Its working as per your suggestion

Thanks

Abdul

PremMahadikar
Valued Contributor II
Valued Contributor II

@sukoor ,

Perfect!

Please select the right reply as Accept As Solution on the reply which answered your original question. Give Kudos!