title: Create dynamic workflows in Airflow with XCOM value
body: <p>Now, I create multiple tasks using a variable like this and it works fine.</p>
  <pre><code>with DAG(....) as dag:
      body = Variable.get(&quot;config_table&quot;, deserialize_json=True)
      for i in range(len(body.keys())):
          simple_task = Operator(
              task_id = 'task_' + str(i),
              .....
  
  </code></pre>
  <p>But I need to use XCOM value for some reason instead of using a variable.
  Is it possible to dynamically create tasks with XCOM pull value?</p>
  <p>I try to set value like this and it's not working</p>
  <p><code>body = &quot;{{ ti.xcom_pull(key='config_table', task_ids='get_config_table') }}&quot;</code></p>