How to handle when sunrise/sunset falls on same date

how to handle when sunrise/sunset falls on same date and error message has to be displayed to user saying that sunset date should be more than today

problem is today sailpoint gives the option to select the date not time . so start date and end date become same and in 1st transaction access will be added and next transaction will remove the access .

I see only option if you are using ootb UI is to add some validation using plugin . or else create your own UI to allow selection with time .

@bkumar592 Liked the way in below article, it might solve your issue.

Solved: Sunset/Sunrise startdate and enddate issue - Compass (sailpoint.com)

Thanks for the response @vishal_kejriwal1 , want to know if we have any OOTB plugin so that we can validate the dates

@bkumar592

One simple solution you can think of for this use a advanced policy violation rule, where actually you can get the future identity vs current identity, compare the role assignments user will be having differently (or you are sure none of the existing assignments will have start and end date same - you can directly check on new identity ) and for the assignments get the StartDate and endDate of the assignments if both are same, throw a policy violation

This should resolve your issue.

Few pages which can help policy violation

Advanced Policy Violation Rule - IdentityIQ (IIQ) / IIQ Show and Tell - SailPoint Developer Community

Advanced Policy Violation - Restrict to request only 1 Entilement for an Application - IdentityIQ (IIQ) / IIQ Discussion and Questions - SailPoint Developer Community

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.