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?
Hi,
Thanks for the above code and. i would like implement the same functionality in ADF how can do this.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.