Navigation:  Integration via SOAP web services > Published web services > Workflow >

newAttachment

Previous  Top  Next

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>

 

Request

ID #

Required

Description

WorkflowID

X

Workflow ID #

ActivityID

X

Activity ID #

FileName

X

File name (including its extension)

FileContent

X

Binary content of the file

UserID

 

User ID

AttachmentID

 

Attachment ID #

AttachmentName

 

Attachment name

Summary

 

Summary

 

Return

ID #

Description

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