I m using bonitasoft community version ,
when user browse for file and click on upload file : it will store file in document variable i know
but ,
after upload i want to store file’s path on variable . (text/variable)
I m using bonitasoft community version ,
when user browse for file and click on upload file : it will store file in document variable i know
but ,
after upload i want to store file’s path on variable . (text/variable)
If you want the path variable to be updated after upload is done, you can create an Action on Submit button which updates some local variable using the groovy script. document.getUrl() will give you the url.
It gives error while submitting form .
what i mistaken ?
What kind of error. Please elaborate.
create two variable :
1st - string var (Url)
2nd - document (inp)
now create form on task1 and put file widget in form and set data > output > inp (doc)
on submit button click event i set action :
Url takes value of inp.getUrl();
but when i run process , after upload doc click on submit > gives following error : error while submiting form
what i done wrong ?
thnaks