title: ADF Use Variable in Task Flow payload in View Object bound variable
body: <p>I have a simple Task Flow that has a bunch of Master/Child data controls bound by Data Components.  </p>
  
  <p>The task flow was created using a Human Task file and as such has a payload that it accepts ( <code>getTaskDetails -> Return -> Task -> Payload</code> ) that is viewable in my Data Controls panel:</p>
  
  <p><img src="https://i.stack.imgur.com/HqdiC.jpg" alt="Task Flow Payload viewable in Data Controls"></p>
  
  <p>I have an App Module that has a bunch of ADF Business Components that are connected to my backend database:</p>
  
  <p><img src="https://i.stack.imgur.com/tXzM3.jpg" alt="Business Components in Panel"></p>
  
  <p>My parent component (SdfValidationErrorEvents) I would like to select based on a primary key value that I pass into the task flow as part of the payload (eventID).  So I created a bound variable that I could use in my SQL View Criteria, and I created a view criteria where I select based on eventID:</p>
  
  <p><img src="https://i.stack.imgur.com/TutEv.jpg" alt="Bound Variable and View Criteria"></p>
  
  <p>My question is how do I set the bound variable's value to the Task Flow payload's value?  What's the expression for fetching the Task Flow's payload entity?</p>
  
  <p><img src="https://i.stack.imgur.com/GFZEZ.jpg" alt="enter image description here"></p>