Put array with Dates on nifi flowfile
Hi! I have an array with dates and I want to insert it into my flowFile through a groovy script but I can't find a way to do it, could you help me?

that's my script with which I get dates.

and this is my groovy script but it always goes to the queue of failure.

