cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to delete attachments from the workflow?

Former Member
0 Kudos

Hi,

Í have this workflow where people have to create attachments to a workflow. The workflow continues to another agent but might come back later. The original agent then has delete one or more of the attachments. (and maybe create new ones)

From the Workplace i can click on the paperclip (manage attachments) and then i get the option to "delete attachment", however if i choose that option i get an message saying: "no attachments that can be deleted"

Now i know that attachments can not be deleted by other agents but i thought that the agent who created the attachment could delete it again.

Any suggestion how to deal with this?

Thx

Robert

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi

It is NOT possible to delete the attachment, unless:

1) you are the user that created them AND the workflow is still in the step where the attachments are created,

OR

2) you are SAPADMIN and go to workflow logs where you can delete anything you like.

So be careful with attachments in workflows.

Kind regards

Robert

former_member185167
Active Contributor
0 Kudos

Hello,

Thank you for the update!

regards

Rick Bakker

Hanabi Technology

Former Member
0 Kudos

Its weird I thought the agent who creates and attachment can delete it.

When you tried to delete the attachment did u double check the user.

Charan

Former Member
0 Kudos

Why not consider removing the line from element "_Attach_Objects" in the workitem.

Former Member
0 Kudos

Hi Robert,

Use this wapi to delete the attachment in the workitem. "SAP_WAPI_ATTACHMENT_DELETE".

But this Function module needs the workitem id as the mandatory parameter.

Hope this is helpful to you.

Thanks and Regards

Balaji E.