Hi to All,
in my process I inserted in a coach the possibility of attach a file.
Then, I would to write this file in a DB as a blob, or a clob, but here I have some problems, in fact I don't know what library can I use to make this possible.
The perfect solution is to convert my file (it will be always a PDF or a TextFile) in a string Base64.
Searching on web, I found some examples with TWDocument and TWAttachedDocument but:
- TWDocument (and related methods) is not recognized by IBM Process Designer.
- TWAttachedDocument IS recognized by IBM Process Designer, and its methods are also suggested, but when I try to use it the process crashs with the following alert:
In TWAttachedDocument I found the method "TWAttachedDocument.findById(id).textData" that seems to be what I want.
Somebody can help me?