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

Build relation between two dynamic attributes

Manju_p
New Contributor II
New Contributor II

Hi Team, 

We have table with three columns username, role and region.  When the user selects the role  all the  regions are getting displayed as below. looking forward to build relation between  role and region.  

Manju_p_0-1699792164705.png

ROLEREGION
gtsadmin gts  
gtsusergts  
opuadminmlng
opuadminmrcsb
opuadminpcmtbe
opuadmin pgb
opuadminprpc
opuusermlng
opuusermrcsb
opuuserpcmtbe
opuuser pgb
opuuserprpc

Thanks, 
Manju

 

5 REPLIES 5

SumathiSomala
All-Star
All-Star

@Manju_p Are you using datasets for the data?if yes please refer sample queries

DA1:

select distinct attribute1 as ID from dataset_values where dataset_values.datasetname ='<dataset_name>'

DA2:

select distinct attribute2 as ID from dataset_values where dataset_values.datasetname ='<dataset_name>' and attribute1 = ${DA1}

also please the queries used in dynamic attributes and other details.

 

If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

 

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Hi Sumathi, 

Thanks for the response. Below are the dynamic attribute details. 

Manju_p_0-1699832358639.png

Regards,
Manju

@Manju_p ENUM will not create a relationship. you can build relationship with dataset for DynRegion.

From where you will get values for DynRegion and are those static?

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Use single select query like

select 'gts' as id union select 'prpc' as id

Use action string SHOW/HIDE

OR Try with datasets

Regards,
Sumathi Somala
If this reply answered your question, please Accept As Solution and give Kudos.

Change ENUM to single select query like

select 'gts' as id union select 'ming' as id


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