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

Entitlement customproperty to users table mapping in Workflow

Soumyaprateek
New Contributor III
New Contributor III

Hi,

We have a requirement like pulling the username from a custom property of entitlement.

Suppose entitlement custom property30 is cn=xyz,dc=abc,....

Then for approval the workflow should be triggered to xyz. 

Appreciate any suggestion regarding how to link entitlement value with users table.

Regards,

Soumya

2 REPLIES 2

Saathvik
All-Star
All-Star

You can use custom assignment block to define your logic 

Example: (Assuming xyz is the username)

select userkey from users where username =(select SUBSTRING_INDEX(SUBSTRING_INDEX(customproperty30, ",", 1), "=", -1) from entitlement_values where entitlement_valuekey=${REQUESTACCESSOBJ.id})


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

Thank you. It worked.

Regards,

Soumya