How to set Default date in Create form task that need to be visible only?

Hi,
I have a query on how to display date and time in the form whenever it is created without any user manual input.
Here I have attached the screenshot of the form I am using.


Let me known how to solve this issue please?

Hi @Kunal_Jain

Use the Create form task activity, click on form data option it will show the arguments.
Then give the PresentDate in key field and give the DateTime.Now.ToString(“dd/MM/yyyy”) in the value field, select the In option in the Direction dropdown.

Check the below image for arguments passage,

Click on save. After that click on the Open Form Designer then it automatically create a text field. When you click on preview it will show the present date everytime.

After creating all this you are able to see like this in UiPath Form Desginer window,

2 Likes

@Kunal_Jain

You can use Create From activity.

HAPPY AUTOMATION

Thanks for the solution.
It worked!!

1 Like

It’s my pleasure… @Kunal_Jain

Happy Automation!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.