Date a case was initiated

Hello,

I would like to know how I can get the date a case was initiated, since I need to store it in a business data model variable. It’s possible?

Regards,

Victor

Please write a groovy script on the first step of your process to get current date and assign it to the variable.

eg: initiatedDate = new Date();