Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Create user form: Attribute's validation condition still working while hide

FCaremoli
New Contributor III
New Contributor III

Hi all 

The situation is this. We have created a user form both for creation and update. The form for the creation of a user is designed only for  fixed-term contract employee while the update for everyone. During the process for the creation of a new user it is mandatory to insert the end date on which some validation conditions are applied (example end date must be higher than today). Now just some users can modify the end date so we have hidden the attribute of those who doesn't have access by following this procedure (link) Allow the requestor to modify an attribute value based on the SAVRole . The problem is that permanent contract employees don't have an end date and when someone use the update use form on them and can't "see" the attribute end date receive the Failure Message of Validation Condition. There is a way to solve this?

Thanks

@JustSalva @nfraternali 

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

Modify your validation conditions & include employee Type also as checkpoint. 

Note : screenshot of error message & configuration always help everyone to understand issue faster and provide resolution faster. 🙂 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Validation Condition: ${((enddate > currentdate) && (enddate < currentdate.plus(183)))||(employeeType=='Internal')}
Failure Message: Error!!!
the attribute is enddate
FCaremoli_0-1664534515881.png

 

FCaremoli_1-1664534539119.png

Those are the error message, the fist on top of the second

FCaremoli
New Contributor III
New Contributor III

Also related to this issue it will be useful to know how to check two different attribute at the same time. In practical terms: We have two attribute (customproperty) that are optional but if you want to populate one you must populate also the other.

sab2
Regular Contributor
Regular Contributor

Hi,

Did you happen to solve this issue? I am experiencing the same thing.

Thank you!