Issue in calculating equals to operator & a condition if lcs not equals to inactive to in transforms

we want to check if the start date eq to now+60d if this expression is true and lcs not equals to then set the value as true. the documentation is showing that date compare transform can be used to check LT,LTE,GT,GTE. Please suggest any way to check this.

Hi @MayuriRaut

Welcome to SailPoint developer community.

If I understood your question correctly, you are looking for EQ operator rather than LT,LTE,GT,GTE. If yes then we don’t have that.

You can use LTE I believe for your requirement. If user startDate is less than or equals 60 days from now then set some LCS state.

If you really need EQ operator then go for Conditional Transform.

Thanks
Krish

To add to what Krishna recommended, the date compare doesn’t have an eq operator. However, you can use the conditional operator to check if two date strings are equal. For this, you will need to use date math to generate two new variables: a date variable for now and one for now+60d. Then you can use those two variables in the conditional to compare the string values.

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