Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/03/2024 08:39 AM
Hi,
The requirement is to set Mandatory/Optional Attributes on user form on basis of Another Attribute.
For Example, If I select Employee type as External then a different set of attributes have to show up as mandatory. Similarly, if I select Employee type as Internal then a separate set of attributes have to show up as mandatory.
IS this possible?
Solved! Go to Solution.
06/03/2024 10:00 AM
Yes its possible with action string similar like HIDE & SHOW attribute name are REQ and NREQ
06/04/2024 02:48 AM
I gave this Action String in Employee type:
Logic: We want date of Birth to be mandatory when employee type is I and optional when employee type is E.
Also, We made Employee type Parent attribute of Date of Birth:
It is still not working.
Any other changes that we might be missing?
06/04/2024 05:36 AM
Avoid spaces in attribute name
06/04/2024 06:47 AM
Should we then user customproperty instead of Attribute name?
customproperty21 instead of Date of Birth?
06/04/2024 06:50 AM
Tried with customproperty21 as well, did not work.
Is there anything else we migt be missing?
06/04/2024 06:50 AM
Keep attribute name as DOB and label as Date of Birth
06/05/2024 12:53 AM
Tried to use DOB as well. Still not working.
06/05/2024 05:38 AM
Does your attribute name is DOB
make attribute name as below
06/05/2024 03:30 AM
Hi @SanjeetaRao ,
To be more clear:
FYI: Action String doesn't depend on 'Parent Attribute' or 'What action to perform when Parent attribute changes?'
Below is working example:
REQ###orgid###2___NREQ###orgid###1
Orgid here is the Attribute Name and not the attribute label.
In User form:
If 1 is selected
Please check, if you are missing something.
If this helps, please consider selecting Accept As Solution and hit Kudos
06/05/2024 05:06 AM
We are Using Attribute nae itself and not the attribute label. Still not working.
Could you please suggest.
06/05/2024 05:13 AM
@SanjeetaRao , please share complete dynamic attribute of parent (where you have mentioned action string) and child screenshot (I believe here its DOB).
06/05/2024 06:54 AM
Please find the screenshot of Employeetype (parent attribute)
Screenshot of DOB (Child DA)
06/05/2024 07:17 AM
I don't see any issue. Can you delete both and recreate them with below exact configurations.
Dynamic Attribute A:
Attribute Name | employeetype |
Attribute Label | Employee Type |
Attribute Group | User Employee Infromation |
Order Index | 14 |
Attribute Type | Enum |
Values | Internal,External |
Action string | REQ###DOB###Internal___NREQ###DOB###External___ |
Required, Edit on Create, Edit on Update | Check |
Note: Don't mention user column at the first. Try to check without it. Then add later
Dynamic Attribute B:
Attribute Name | DOB |
Attribute Label | Date Of Birth |
Attribute Group | Personal Infromation |
Order Index | 3 |
Attribute Type | Date |
Edit on Create, Edit on Update | Check |
Note: Don't mention user column at the first. Try to check without it. Then add later
This should work. Its working for me.
If this doesn't work, please raise a Freshdesk ticket.
Please consider selecting Accept As Solution and hit Kudos
06/06/2024 04:09 AM
Hi @PremMahadikar ,
This is working for us now.
One last question, if we need to have multiple dependent vales then we have to update it like below with comma?
REQ###DOB###Internal___NREQ###DOB###External___,REQ###Manager###Internal___NREQ###Manager###External |
06/06/2024 04:14 AM
Perfect!
Don't add comma!
REQ###DOB###Internal___NREQ###DOB###External___REQ###Manager###Internal___NREQ###Manager###External___
Please select Accept As Solution (for the reply/replies which helped your question) and give Kudos
06/05/2024 10:16 PM
Parent Attribute is wrong under DOB attribute - it should be Employee Type.
Please avoid spaces in attribute names