Click HERE to see how Saviynt Intelligence is transforming the industry. |
05/25/2022 06:07 AM
Hi,
We are trying to achieve a data validation control on dynamic attribute based on other dynamic attribute value.
dynattr1 - ENUM - ( Keep Enabled, Keep Disabled)
dynattr2 - DATE
this fields should have a data validation enabled or checked when dynattr1 selected is Keep Disabled else it should be NULL
Eg : ${( ( dynattr2 >= currentdate )&&(dynattr1='Keep Disabled') )} - Its failing at dynattr1 condition.
Any suggestions on this ?
05/25/2022 06:21 AM
${( ( dynattr2 >= currentdate )&&(dynattr1=='Keep Disabled') )}
05/25/2022 06:54 AM
Hi Rushikesh,
Sorry, that was a typo from my side.
${( ( dynattr2 >= currentdate )&&(dynattr1=='Keep Disabled') )}
Above one is what we tried and ended up in validation failure.
05/25/2022 08:11 PM
Can you please try in the following way?
${(null == enddate && 'Employee'.equals(createformtype)) || (null != enddate && enddate >= currentdate && 'Contractor'.equals(createformtype))}
Here createformtype and enddate are the dynamic attributes.
05/30/2022 12:00 PM
Amit,
Thanks for the details, we will try this out and confirm.
-Sudhin