Is it possible for a ScriptTask to pass variables from stored_data as command line parameters to the script?
--
You received this message because you are subscribed to the Google Groups "fireworkflows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireworkflows+unsubscribe@googlegroups.com.
To post to this group, send email to firewo...@googlegroups.com.
Visit this group at https://groups.google.com/group/fireworkflows.
To view this discussion on the web visit https://groups.google.com/d/msgid/fireworkflows/880e948c-96fe-4413-ae96-b55ff7a3a6db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Jeff,No, the ScriptTask can only take parameters from the "spec" (if use_global_spec is set True) or from the initialization parameters from the task (default). If you have a previous task/Firework that needs to pass some parameter to the following ScriptTask (e.g. the "script" command), you can have the previous Firework pass the an "update_spec" command to the downstream ScriptTask to use the new "script". i.e. this will modify the spec of the downstream ScriptTaskIf what you're doing is more complicated than that, I would suggest upgrading to PyTask or writing your own FireTaskBest,Anubhav
On Mon, Aug 8, 2016 at 12:00 PM, Jeff Graves <jagra...@gmail.com> wrote:
Is it possible for a ScriptTask to pass variables from stored_data as command line parameters to the script?
--
You received this message because you are subscribed to the Google Groups "fireworkflows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fireworkflow...@googlegroups.com.
To post to this group, send email to firewo...@googlegroups.com.
Visit this group at https://groups.google.com/group/fireworkflows.
To view this discussion on the web visit https://groups.google.com/d/msgid/fireworkflows/880e948c-96fe-4413-ae96-b55ff7a3a6db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Best,
Anubhav