<div dir="ltr">Renat, Dmitri,<div><br></div><div>On supplying the global context into the workflow execution...</div><div><br></div><div>In addition to Renat's proposal, I have a few here.</div><div><br></div><div>1) Pass them implicitly in start_workflow as another kwargs in the **params.  But on thinking, we should probably make global context explicitly defined in the WF spec.  Passing them implicitly may be hard to follow during troubleshooting where the value comes from by looking at the WF spec.  Plus there will be cases where WF authors want it explicitly defined. Still debating here...</div><div><br></div><div>inputs = {...}</div><div>globals = {...}</div><div>start_workflow('my_workflow', inputs, globals=globals)</div><div><br></div><div>2) Instead of adding to the WF spec, what if we change the scope in existing input params?  For example, inputs defined in the top workflow by default is visible to all subflows (pass down to workflow task on run_workflow) and tasks (passed to action on execution).</div><div><br></div><div>3) Add to the WF spec</div><div><br></div><div>workflow:</div><div>    type: direct</div><div>    global:</div><div>        - global1</div><div>        - global2</div><div>    input:</div><div>        - input1</div><div>        - input2</div><div><br></div><div>Winson</div></div>