<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Agree with Nikolay. <div class=""><br class=""></div><div class="">Winson, did you see <a href="https://blueprints.launchpad.net/mistral/+spec/mistral-execution-environment" class="">https://blueprints.launchpad.net/mistral/+spec/mistral-execution-environment</a> ? The concept described their is pretty simple and syntactically we can have a predefined key in workflow context, for example accessible as $.__env (similar to $.__execution), which contains environment variables. They are the same for the whole workflow including subworkflows.</div><div class=""><br class=""></div><div class="">One additional BP that we filed after Paris Summit is <a href="https://blueprints.launchpad.net/mistral/+spec/mistral-workflow-constants" class="">https://blueprints.launchpad.net/mistral/+spec/mistral-workflow-constants</a> which is a little bit related to it. According to what described in this BP we can just define workflow scoped constants for convenience which are accessible as regular workflow input variables. Btw, as an idea: they can be initilalized by variables from execution environment.</div><div class=""><br class=""></div><div class="">And there’s even one more BP <a href="https://blueprints.launchpad.net/mistral/+spec/mistral-default-input-values" class="">https://blueprints.launchpad.net/mistral/+spec/mistral-default-input-values</a> that suggests having default workflow input values that is related to those two. Btw, it can be extended to having default values for action input values as well.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">So, I would suggest you take a look at all these BPs and continue to discuss this topic. I feel it’s really important since all these things are intended to improve usability.</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""><div class=""><div class="">
<div class="">Renat Akhmerov</div><div class="">@ Mirantis Inc.</div><div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 10 Dec 2014, at 00:17, Nikolay Makhotkin <<a href="mailto:nmakhotkin@mirantis.com" class="">nmakhotkin@mirantis.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Guys, <br class=""><br class="">May be I misunderstood something here but what is the difference between this one and <a href="https://blueprints.launchpad.net/mistral/+spec/mistral-execution-environment" class="">https://blueprints.launchpad.net/mistral/+spec/mistral-execution-environment</a> ?<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Dec 9, 2014 at 5:35 PM, Dmitri Zimine <span dir="ltr" class=""><<a href="mailto:dzimine@stackstorm.com" target="_blank" class="">dzimine@stackstorm.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">Winson, </div><div class=""><br class=""></div><div class="">thanks for filing the blueprint: </div><a href="https://blueprints.launchpad.net/mistral/+spec/mistral-global-context" target="_blank" class="">https://blueprints.launchpad.net/mistral/+spec/mistral-global-context</a>,<div class=""><br class=""></div><div class="">some clarification questions:</div><div class="">1) how exactly would the user describe these global variables syntactically? In DSL? What can we use as syntax? In the initial workflow input? </div><div class="">2) what is the visibility scope: this and child workflows, or "truly global”? </div><div class="">3) What are the good default behavior? </div><div class=""><br class=""></div><div class="">Let’s detail it a bit more. </div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">DZ> </div><div class=""><br class=""></div><div class=""><br class=""></div></font></span></div><br class="">_______________________________________________<br class="">
OpenStack-dev mailing list<br class="">
<a href="mailto:OpenStack-dev@lists.openstack.org" class="">OpenStack-dev@lists.openstack.org</a><br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><font class="">Best Regards,</font></div><div class=""><font class="">Nikolay</font></div></div></div>
</div>
_______________________________________________<br class="">OpenStack-dev mailing list<br class=""><a href="mailto:OpenStack-dev@lists.openstack.org" class="">OpenStack-dev@lists.openstack.org</a><br class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>