As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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?
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
Hi Raphael,
Thanks for the clarification. Is there any working example (weblink to similar task) which you could share with me?
Thanks for the above code and. i would like implement the same functionality in ADF how can do this.