Autopopulate date field in default value

ARAVINDA11
Tera Contributor

@Ankur Bawiskar @Community Alums @Sohail Khilji 

 

Team please help me how can I autopopulate current date in current date field using reference qualifier default value 

1 ACCEPTED SOLUTION

@ARAVINDA11 ,

 

Did it help ? kindly action in closing your post and quries.


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

View solution in original post

7 REPLIES 7

@Sohail Khilji @Sohail Khilji  kindly verfy below screenshot how can i use input value if flow action dictionary entry! in flow input action how can we automate input value!

Seraj
Tera Guru

Hi@ARAVINDA11 ,

Why you are going with reference qualifier if you want to populate the current date on your date field you can simply set the default value of your field.

If your field type is datetime then try this script :

javascript: new GlideDateTime();

If your field type is only date then try this script :

javascript: new GlideDate();

 

Config dictionary.JPGCurrent date time.JPG

Best Regards,

Seraj

 

ARAVINDA11
Tera Contributor

@Seraj  @Ankur Bawiskar  @Sohail Khilji  @Community Alums 

 

Ahh fine my question is in flow Input I have created a custom variable called doc_date in the configuration I am not able to put any reference qualifier value . I want to autopopulate the value for current date .

 

verify the screenshot

ARAVINDA11_0-1715766568993.png