Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/22/2022 12:22 PM
I have 2 dynamic attributes - attribute1, attribute2
I need to make attribute2 required or not required based on the value of attribute1.
1) attribute1 (SQL ENUM) - Pulls list of values from a query, lets say - value with space, valuewithoutspace
I have put action string on attribute1 like below
REQ###attribute2###valuewithoutspace___NREQ###component###value with space
When the value from attribute 1 doesn't have space, the attribute 2 is becoming required and not required as needed but when the attribute1 value has space, action string doesn't work as expected. How do I make the action string work for the attribute values with spaces.
Any help here is much appreciated.
-Siva
Solved! Go to Solution.
06/22/2022 12:56 PM
Its working as expected for me 🙂
REQ###DA2###CA___NREQ###DA2###B A
06/22/2022 02:50 PM
If attribute1 is Enum type (hardcoded value) it works, it doesn't work if attribute1 is SQL ENUM (Single select from SQL query).
06/22/2022 06:31 PM
@Sivagami It works in that case also. I suspect u have extra space so trim value in DA query
version v5.5 SP4
06/23/2022 10:29 AM
Thanks for checking 🙂
It's not the query issue, I copy pasted the action string from editor & looks like some special character got copied. Typing the action string manually did the trick.