Önceki Başlık: getAllAttachmentsSonraki Başlık: getCountOfProcessStates


getAttachmentContent

getAttachmentContent işlevi, içeriği bir ekten alır ve bir CA Process Automation veri kümesi değişkeni içine yerleştirir. Bu işlev, alabileceği içeriğin boyutunu 64KB ile sınırlandırır.

Sözdizimi

sAttachment = getAttachmentContent(lAttachmentID)

Bağımsız Değişkenler

lAttachmentID (long)

Alınmakta olan içeriğin bulunduğu eki tanımlayan benzersiz kimlik.

Dönüş Değeri

sAttachment (C2OString)

İçerik, C2OString.(com.optinuity.c2o.bean.C2OString) olarak döndürülür.

Örnek

var i = Process.attachments[0].attachmentID;
Process.cont = getAttachmentContent(i);