I have a workflow associated with a list.
In one of the actions, we are sending emails with the attachment of the current item.
Could you please let me know how do we remove the attachment from the current item as a next step to email.
You have to use Lists.asmx webservice,
There are two issues about attachment:
1) In the send notification section, i have refered to attachment of the current item. however, when the email is recieved, it is attached with a "True(Error).txt" - "
Error attaching file from True.
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at Microsoft.SharePoint.SPSite..ctor(String requestUrl, SPUserToken userToken)
at Nintex.Workflow.HumanApproval.MessageAttachment.GetAsMailAttachment(INWWorkflowContext context)"
2) when the workflow encounters call web service section where i have given the item url to delete the attachments. it gives the error as
"Failed to invoke web service. Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Server</faultcode><faultstring>Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown."
Retrieving data ...