Path: / API / queryRuntimeAPI / getLastAttachment / {instanceUUID} / {attachmentName} / {activityUUID}

Obtains the last version of a process attachment created before an activity end.

Path parameters:
activityUUID - the activity instance UUID
instanceUUID - the process instance UUID
attachmentName - the attachment name

Method Summary
ResourceDescription
POST /API/queryRuntimeAPI/getLastAttachment/{instanceUUID}/{attachmentName}/{activityUUID}Obtains the last version of a process attachment created before an activity end.

Method Detail
HTTP Example:
POST /API/queryRuntimeAPI/getLastAttachment/{instanceUUID}/{attachmentName}/{activityUUID}

options=
API Example:

AbstractRemoteQueryRuntimeAPI.getLastAttachment({'activityUUID': /* activityUUID the activity instance UUID */,
  'instanceUUID': /* instanceUUID the process instance UUID */,
  'attachmentName': /* attachmentName the attachment name */,
  'options': /* options the options map (domain, queyList, user) */});

Obtains the last version of a process attachment created before an activity end.

Output:
org.ow2.bonita.facade.runtime.AttachmentInstance - an {@link AttachmentInstance} corresponding to the last version of the attachment created before the end of the activity. The method getAttachmentValue should be used to retrieve the content of an attachment
Form parameters:
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml