How to use GlideDate to get today in ATF data setting?

wangdecai
Giga Contributor

Hi all,

I am creating an ATF test step to insert a record.

I want to know how to set a field value to today dynamically using GlideDate.

wangdecai_0-1690175240527.png

I will be very appriciated if anyone can help me out.

Thank you

1 REPLY 1

Shaqeel
Mega Sage

Hi @wangdecai 

 

PFB the screenshot:

Shaqeel_0-1695631830491.png

 

You can use "javascript: gs.daysAgo() ". Worked for me.

 

Regrds

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel