title: Airflow DAG with configuration/parameter json and loop to that parameter to generate the operators
body: <p>I have a manually triggered dag. It takes a parameters like:</p>
  <p><code>{&quot;id_list&quot;:&quot;3,5,1&quot;}</code></p>
  <p>In the DAG, I create the operators dynamically based on this list of integers:</p>
  <pre><code>for id in id_list:
     task = create_task(id)
  
  </code></pre>
  <p>I need to initialize the <code>id_list</code> based on the parameter values of <code>id_list</code>.
  How can I initialize that list since I cannot reference that parameter directly when not in a templated field? This is how I want to see it in the Graph View where the process tasks are based on the <code>id_list</code> params.</p>
  <p><a href="https://i.stack.imgur.com/YyyjR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YyyjR.png" alt="enter image description here" /></a></p>
  <p>I have seen examples of dynamically created tasks but they are not really dynamic in the sense that the list values are hard-coded. The tasks are created dynamically based on the list of hard-code values, if that makes sense.</p>