cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
rolfen
Nintex Newbie

Attachment in Webservice call

Dear Community,

 

within a list workflow we call a webservice (SOAP 1.2 protocol) with parameter values read from list item.

We also would like to send the item attachments, but we don't understand how to encode that.

Here is a working sample code:

<Attachment>

<Content>/9j/4AAQSkZJRgABAQE..<snip>AYABgAAD/FFFFABRRRQB/9k=</Content>

<ContentType>image/jpg</ContentType>

<Filename>screenshot.jpg</Filename>

</Attachment>

Here we have to encode the file/image to Base 64 and provide the mime type accordingly.

So what how to get this dynamically created inside the workflow?

Best Regards

Rolf

Labels: (2)
0 Kudos
Reply
1 Reply
Nintex Employee
Nintex Employee

Re: Attachment in Webservice call

Hi,
The following thread has some solutions for this issue.
One is to copy the attachments to a document libray and then run the workflow on the library.
The files are automatically encoded using the [FileData] reference.
https://community.nintex.com/t5/Nintex-for-SharePoint/Is-it-possible-to-use-a-Nintex-workflow-in-Sha...
0 Kudos
Reply