05-02-2019 04:35 PM
I am new to Alfresco and I am working with Alfresco Process Services (powered by Activiti) v1.9.0.
I have a user task which refers to a form and in that form I have a Date field (Approval Date as shown in the image below). I want to auto-fill this date field with the current date. Is there a way to do this? Is so, how?
05-03-2019 04:21 AM
Hi,
you can select the date field and via the javacript tab add the js code to display current date.
Here is an example not doing that but still giving you an idea.
The other option would be to calculate the current date in a previous task and then map the form field with the calculated value.
Hope it helps
Raphael
05-03-2019 09:52 AM
Hi Raphael,
Thanks for the clarification. Is there any working example (weblink to similar task) which you could share with me?
05-08-2019 01:26 AM
Hi,
Thanks for the above code and. i would like implement the same functionality in ADF how can do this.
Explore our Alfresco products with the links below. Use labels to filter content by product module.