You have a string variable and if you change it, it's still a string. The parseDateTime function returns a datetime, so you can't change a string variable into that. Create a new datetime variable using the parseDateTime function and put that in a datetime attribute of $IteratorARU. Also double check if you want parseDateTime or parseDateTimeUTC (non-localized).
Also, commit and refresh the list you looped over after the loop instead of committing each object separately in the loop.
You can just create a DateTime variable where you do the parseDateTime of the IteratorARU attribute.
Currently youre creating a String variable which you want to change into a DateTime variable, which is not possible.
Hi Varun,
Just change the variable type string to dateTime.
Hi Varun,
Try as below mentioned hope this helps,