Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Problem on Dynamic Attribute - User register form Parent/Child

moosam2
New Contributor III
New Contributor III

Hi, i have problem to Test New Dynamic Attribute using Child / Parent relationship.

1. What i needed from user side experience

  1) Select parent (Kyle Test parent): ENUM from SQL Query - from Data Set.

   - Query : select attribute1 as ID from dataset_values where datasetname like 'CS_CPLIST'

   - Setting

     moosam2_2-1724029541152.png

  2) Child(Kyle Test Child) will be selected automatically followed Parent's selection for key on dataset.

   - Query : SELECT CP30 as ID from dataset_values where DATASETNAME='CS_CPLIST' and DEPARTMENT = (${KyleTestParent})

   - Setting

     moosam2_1-1724029498016.png

  3) After Submit, want to update User.Customproperty30 by Child value.

moosam2_0-1724028001463.png

2. Symptom : When i select Parent, there are no change on Child.

moosam2_0-1724029426543.png

 

Is there any mistake on my set-up? Thank you...

 

 

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

  2) Child(Kyle Test Child) will be selected automatically followed Parent's selection for key on dataset.

   - Query : SELECT customproperty30 as ID from dataset_values where DATASETNAME='CS_CPLIST' and DEPARTMENT = ${KyleTestParent}

And Select below option - 

  • Required.
  • Editable on create 
  • Editable on update
  • Also add query in default value

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Finally i found solution! also containing your recomendation.

SELECT customproperty30 as ID from dataset_values where DATASETNAME='CS_CPLIST' and ${KyleTestParent} = DEPARTMENT <-Works!

SELECT customproperty30 as ID from dataset_values where DATASETNAME='CS_CPLIST' and DEPARTMENT = ${KyleTestParent} <- Doesn't works..

Weired... haha.

Anyway Thank you!

 

NM
Honored Contributor II
Honored Contributor II

Hi @moosam2 ,

Customproperty 30 mapping doesn't exist until an account is created.

Dataset table doesn't have any customproperty 30 use value from dataset table like you used for parent attribute.

Plus add a query in default.