My scenario is that I am using the Upload Widget to upload documents .
Now the Document type is Single. Only 1 document needs to be Uploaded.
Now I am showing the Document in the next task.
Here, I am using the Link widget to download the Document.
return "/bonita/portal/" + $data.context.attachedDoc_ref.url;