Skip to main content
Nintex Community Menu Bar
Question

How to include a file/file-contents in a Web Service call from NWC

  • January 18, 2023
  • 1 reply
  • 159 views

codenameCata
Forum|alt.badge.img+1

Hi Nintex Community!

I am working on a Nintex workflow where I send an Http POST request to process a file. The prescribed format for this process is as seen in the Message Body of the screenshot below.

The expectation is that the file contents will be posted as a byte stream/byte array.

The Start event is : OneDrive for Business - New File. When a new file is added to the targeted folder, the workflow kicks off with the variables seen in the screenshot.

The file itself is returned with File datatype. However, I can’t convert or cast it to a string-type variable. Hence, I cannot use it my post request.

 

I tried other out-of-the-box commands (e.g. Convert a Value) but the available data types are limited to a pre-defined list and cannot be customised.

 

Can you suggest any ways to send file data as part of a web service request?

Translate
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+2
  • Novice
  • 3 replies
  • November 12, 2024

I have the exact same question. Did you find a solution?

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings