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

Data Validation Condition - Dynamic Attribute

ssudhakar
New Contributor III
New Contributor III

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 ?

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

${( ( dynattr2 >= currentdate )&&(dynattr1=='Keep Disabled') )}


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

ssudhakar
New Contributor III
New Contributor III

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.

amit_krishnajit
Saviynt Employee
Saviynt Employee

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.  

Thanks,
Amit

ssudhakar
New Contributor III
New Contributor III

Amit,
Thanks for the details, we will try this out and confirm.

-Sudhin