Show TOC

Delete Attachments from a Work ItemLocate this document in the navigation structure

To delete attachments from a Workflow work item, you need to implement the HTTP DELETE operation on the Attachment Collection.

The URLs are as follows:

  • For Generic Workflow Task processing services:

    http://<host name>:<port>/sap/opu/sdata/sap/wfgentaskprocessing/AttachmentsCollection(value='<item_id>',scheme_id='IW_WF_TASK_GW',scheme_agency_id='<SID>_<client>',id='<attach_id>')/Attachments 

  • For User Decision Workflow Task processing services:

    http://<host name>:<port>/sap/opu/sdata/sap/wfdecisiontaskprocessing/AttachmentsCollection(value='<item_id>',scheme_id='IWF_USER_DECISION_TASK_GW',scheme_agency_id='<SID>_<client>',id='<attach_id>')/Attachments

  • For Dialog Activity Workflow Task processing services:

    http://<host name>:<port>/sap/opu/sdata/sap/wfactivitytaskprocessing/AttachmentsCollection(value='<item_id>',scheme_id='IW_ACTIVITY_TASK_GW',scheme_agency_id='<SID>_<client>',id='<attach_id>')/Attachments

Where value is the work item ID number, and ID is the attachment ID number from the Attachments Collection.