Navigation: Integration via SOAP web services > Published web services > Workflow >
This method attaches a file to a workflow activity. To use it, it is necessary to follow the standard documented below:
Java class
Request
web\wwwroot\ws\java\workflow\NewAttachmentRequestType.java
Return
web\wwwroot\ws\java\workflow\NewAttachmentResponseType.java
Request structure
<newAttachment>
<WorkflowID>?</WorkflowID>
<ActivityID>?</ActivityID>
<FileName>?</FileName>
<FileContent>?</FileContent>
<UserID>?</UserID>
<AttachmentID>?</AttachmentID>
<AttachmentName>?</AttachmentName>
<Summary>?</Summary>
</newAttachment>
ID #
Required
Description
WorkflowID
X
Workflow ID #
ActivityID
Activity ID #
FileName
File name (including its extension)
FileContent
Binary content of the file
UserID
User ID
AttachmentID
Attachment ID #
AttachmentName
Attachment name
Summary
Status
Method execution status. Its value may be:
SUCCESS: Method executed successfully
FAILURE: An error occurred during the method execution
Code
Method return code
Detail
Method return detail
RecordKey
Code of the record added by the method
RecordID
ID # of the record added by the method