title: Access flow variable in java code mule
body: <p>I stored some information in a variable, but I do not know how to access it in my java code...</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;sub-flow name="EnrichMessage" doc:name="EnrichMessage"&gt;
      &lt;component doc:name="Scenario01" class="Class01"/&gt;
      &lt;set-variable variableName="Parameters" value="#[payload]" doc:name="Variable"/&gt;
      &lt;flow-ref name="SubFlow01" doc:name="SubFlow01"/&gt;
      &lt;component doc:name="Scenario02" class="Class02"/&gt;
  &lt;/sub-flow&gt;
  </code></pre>
  
  <p>I already saw some incomplete answers, but still don't know how to do that. Anyone can post a complete answer?</p>
  
  <p>Thanks.</p>