How can I auto fill the current date in a datepicker widget?
2 answers
Hi Geovanny!
How are you?
You must create a variable of type "date" in the BonitaStudio and assign it as the default " Now" value.
Then on the form you create a "External API " variable called " get_today " and take the following code:
..//API/bpm/activityVariable/{{taskId}}/variable_name
Select the Datepicker and assign in the value field:
get_today.value
I hope I've helped
Greetings.
Comments
Thanks a lot for your response.
I will try to do it now.
Regards