I want to restrict the accepted dates for the ExitDate attribute of the object Person that a user can edit from the Web Portal: from the edit user page, a manger must be able to update this field with a date not exceeding 1 year from the moment of the operation.
In the project configuration I have added a validation property to the ExitDate attribute, but I can't figure out what I have to put in the condition field:
- what values do I have in input?
- what script language should I use?
- what type of data should I return?
I couldn't find any of this in the documentation.
I'm using One Identity Manager 8.1.4.
Please, if anyone can help me, maybe even with an example.