We are getting below error if the date on the identity attribute is in different format from yyyy-MM-dd.
"IllegalArgumentException: DateMathTransform requires an input date or date expression with ‘now’ "
Is there any way we can use in transform that user enters the date in any format and is parsed by transform without any error?
this error means that second date is not a valid date and the transform can’t perform the evaluation of the expression, please check that everything is correct and IdentityNow can read the account attribute “contractStartDate” without any problem.
The inputformat in the transform is set as yyyy-MM-dd, and in the identity the format for date is mm/dd/yyyy.
Is there any way , we can edit the transform that transform accepts the date in other formats as well.
If your date format on the identities is in the format mm/dd/yyyy you can modify the transform to the snippet below and it will accept those dates. Take a look at our developer docs for dateFormat. The input format can be specified in a few different ways using our named constructs or the Java SimpleDateFormat. (Date Format | SailPoint Developer Community).
If you are looking to specify multiple input date formats to be transformed into the ISO8601 format the dateFormat transform does not allow this and it would have to be done another way. If that is what you are looking to do, let us know and we can help formulate a solution for that.