title: How to navigate a mutipart/form-data in Mulesoft 4.2 Dataweave 2.2?
body: <p>I'm trying to get grab content out of multipart/form-data in Dataweave 2.2.  I just want to send back the pdf from the second part of the payload.  I am having no luck parsing through this payload using Dataweave.</p>
  
  <p>My dataweave code is simply <code>payload.parts</code> and I get the following error.</p>
  
  <pre><code>org.mule.runtime.core.api.expression.ExpressionRuntimeException: "Multipart Object does not have `parts` field defined. Expecting type is
  {
    preamble?: String, 
    parts: {
      _*: {
        headers: Object, 
        content: Any
      }
    }
  }, while writing MultiPart at payload.parts." evaluating expression: "payload.parts".
  </code></pre>
  
  <p>Here is my payload. I trimmed the xml and file content for readability.</p>
  
  <pre><code>--MIMEBoundary_fdb504344c826b00b136f8946dec737661b743b37d6dc8c4
  Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
  Content-Transfer-Encoding: binary
  Content-ID: &lt;0.cdb504344c826b00b136f8946dec737661b743b37d6dc8c4@apache.org&gt;
  
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;/soapenv:Envelope&gt;
  --MIMEBoundary_fdb504344c826b00b136f8946dec737661b743b37d6dc8c4
  Content-Type: application/octet-stream
  Content-Transfer-Encoding: binary
  Content-ID: &lt;edb504344c826b00b136f8946dec737661b743b37d6dc8c4@apache.org&gt;
  
  %PDF-1.4
  %����
  1 0 obj
  &lt;&lt;
  /Creator (Smart Communications)
  /Producer (Smart Communications)
  /CreationDate (D:20200115094841-05'00')
  &gt;&gt;
  endobj
  2 0 obj
  &lt;&lt;
    /N 3
    /Length 3 0 R
    /Filter /FlateDecode
  &gt;&gt;
  stream
  x���wXS���sN�`$!l{��@
  </code></pre>