This activity adds an attachment to the business object. One of the 3 parameters - Filename, Hyperlink and Stream - must be specified otherwise the activity would finish without doing anything.
Input Arguments
|
Function / Meaning
|
Altname
|
An alternative name for the file or hyperlink which will be stored along with the file or hyperlink.
|
Altnames
|
Alternative names for the files or hyperlinks which will be stored along with the files or hyperlinks.
|
BO
|
The business object to which the attachment is added.
|
DataSize
|
Specifies the size of the data for the input stream attachment.
|
DataSizes
|
Specifies the size of the data for the input stream attachments.
|
Filename
|
The name and path of a file that will be attached to the business object (e.g. "C:\data\info.txt").
|
Filenames
|
Names and paths of files that will be attached to the business object.
|
Hyperlink
|
The hyperlink that will be attached to the business object (e.g. "http:\\www.usu.de").
|
In
|
Please see the common parameters/arguments.
|
StoreInDb
|
It specifies (for the file attachments) whether the file should be stored in the database or the attachment should only contain a name and path of the file. For the first option: Pass 1, "true" or boolean true For the rest: Pass 0, "false" or boolean false.
|
Stream
|
The input stream from which data will be read and attached to the business object (it must be an instance of the InputStream).
|
Streams
|
Input streams from which data will be read and attached to the business objects (it must be an instance of the InputStream).
|