Pass current date to Incident Short Description using ATF

ashok9034
Tera Contributor

Hello,

How can we pass current date and timestamp as an extension to the text entered under Incident's Short Description field?

I've attached the screenshot of ATF Test. The square brackets are the placeholder for current timestamp.

 

Thank you.

1 REPLY 1

p_kanczugowski
Tera Guru

Hi @ashok9034, if you'd like to generate any non-static data, such as the date you mentioned, I suggest inserting the record via script, and setting the Short Description to, for instance, new GlideDateTime(). An alternative would be to keep the step that you currently have, and use the script just to update the Short Description.

 

Please mark this response as useful and the question as solved if the issue has been solved. Thank you!