Use yyyy-MM-dd'T'HH:mm:ss.SSSZ for inputFormat of dateFormat transform and try again…
It seems like the dateFormat transform is returning a null due to mismatch in inputDateFormat and the format actual date coming from inactiveStatusDate is in
So you need the transform output to be in ISO8601 format and dateMath does not return in this format, in which case you need to change your root transform to dateFormat type as below:
This also includes a firstValid to take care of any null values returned for Account Attribute inactiveStatusDate
In fact, you might not need the inner dateFormat transform as the accountAttributeinactiveStatusDate is already in ISO8601 format and firstValid can directly be the input to dateMath
I have one more question.
Suppose if a user’s lifecyclestate is changed to inactive today, i need to set inactivestatus date as today’s date.
I cannot consider now as it changes everyday and after every refresh this date will change?
Is there any way i can do this via transform?Can you please help?