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

Modification in custom assignment workflow

Debankita
New Contributor III
New Contributor III

Hi Team,

We have workflow configured where the request for any account is expected to go the Account Rank owner 1 , if the account rank owner 1 does not take any action, the request is suppose to get escalated to Rank owner 2.

Now when the requestor and the Rankowner 1 is the same person it is going to Admin for approval, but we want to perform a configuration where if the approver and requestor is the same person, the request should go to Rank owner 2 for approval. Is it feasible to do such modification

4 REPLIES 4

krunalkadam
New Contributor III
New Contributor III

You have the option to incorporate an if-else condition right after the workflow begins to evaluate the necessary criteria. For instance, in our scenario, we examine whether the endpoint owner is also the requestor, and depending on this evaluation, we direct the approval process to alternate users. Here is the condition we implemented within the if-else segment of the workflow: endpoints.ownerkey == requestedby.id

Best regards,

Krunal Kadam

Should you find this information helpful, please think about marking it as "Accept As Solution" and don’t forget to hit the kudos button.

rushikeshvartak
All-Star
All-Star

This seems to be Service Account Workflow. Use if else logic to validate if owner and requestor are same in if else logic

rushikeshvartak_0-1713400014043.png

com.saviynt.ecm.identitywarehouse.domain.Users.get(Long.valueOf(dynamicAttributesReqAccess.get(requestaccesskey).get('USEROWNERKEY'))).username == requestedby.username


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

@Debankita 

When the requestor, beneficiary and the approver is the same, the system doesn't allow the request to auto approve. It will require other members of the user group to approve it.

This is enforced in the product workflows by default on all the blocks.

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

Not for service account though


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