and more in a single search tool across platforms. Read the announcement here. |
12/16/2023 12:53 AM - edited 12/16/2023 12:57 AM
Hi All,
I have created two dynamic attribute selectRole and region. selectRole is DA to get the input from user in which user Selects a ROLE and based on the selectRole, region DA should be automatically populated as default value.
To achieve this, we use Single Select from SQL Query (BOTH in Parent and Child).
For Child we used same query mentioned below in both Values and Default Section. Values section query execute without any error but the query in the default section throws error as viewed in logger. Default value will work properly if we do not use any binding variable of Dynamic attribute or use hard coded value. The issue is Default value is not populated in the form.
Parent Attribute: selectRole
Query: SELECT distinct ATTRIBUTE1 as ID from dataset_values where datasetname = 'TestRole'
Child Attribute: region
Value Query: select distinct attribute2 as ID from dataset_values where datasetname = 'TestRole' and attribute1 = ${selectRole}
Default Query: select distinct attribute2 as ID from dataset_values where datasetname = 'TestRole' and attribute1 = ${selectRole}
Please note:
1.We have tried removing Mapping from What action to perform when parent attribute changes? in child DA.
2.We have tried using Refresh in What action to perform when parent attribute changes? in child DA. None of these seems to work.
Note: Dataset used and Error logs have be attached here.
Similar issue was raised but seems like no solution was provided.
https://forums.saviynt.com/t5/identity-governance/issue-with-populating-default-value-for-the-endpoi...
Solved! Go to Solution.
12/16/2023 09:41 AM
Default value only populated on parent attribute and not on child attributes
12/17/2023 08:47 PM
@h_sapkota I am able to populate teh default valus on prent attribute.
Anyhow I dont this to be feassible for child attributes.
01/03/2024 10:11 PM
The issue I was facing is resolved using CLASSICAL UI FOR application request.
In Classical UI, default value can be populated in Child Attribute using dependency from Parent Attribute.