cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

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