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

Query for fetching entitlement type name in creation of dynamic attribute in Endpoint configuration

sumit_morchhale
New Contributor
New Contributor

I want to fetch the entitlement type from dynamic attribute from entitlement_types table. But query is not working.

Query:- "select entitlementname from entitlement_types"

This query is not returning entitlement type for respective endpoint.

 

 

sumit_morchhale_1-1709560280974.pngsumit_morchhale_2-1709560304436.png

 

 

sumit_morchhale_3-1709560368858.png

 

 

 

Values Query:- "select entitlementname from entitlement_types"

Please suggest me query for fetching name entitlement types  associated with endpoint or should i add endpoint table with above query. Please let me know.

3 REPLIES 3

AmitM
Valued Contributor
Valued Contributor

HI @sumit_morchhale ,

select entitlementname as ID from entitlement_types where endpointkey =1.

If you dont want to use endpointkey then you can join it with endpoints table and use name.

But you need to hardcode key or name in you query.

Thanks,

Amit

If this answers your query, Please ACCEPT SOLUTION and give KUDOS.

sumit_morchhale
New Contributor
New Contributor

Hi Amit,

Still, It is not working.
Query:- "select entitlementname as ID from entitlement_types where endpointkey =1."

sumit_morchhale_0-1709564967769.png

sumit_morchhale_1-1709565006677.png

Please check the configuartion mentioned in above screenshot and let me know something is more required.

Thanks,
Sumit

@sumit_morchhale  change the attribute type from ENUM to Single select from SQL Query.

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.