Open antonkulaga opened 7 years ago
I don't believe WDL ever allowed workflow declarations to be visible in tasks, but I'll label this as an enhancement request for our PO to review.
@mcovarr is this related to #1335?
I don't think so, no.
I'm a fan of this request. Perhaps something like ${workflowName.variableName} could be used within any task since it should be unique across the wdl file.
In the initial example (just to be explicit), the usage could look like: ${indexes.genome}
@cjllanwarne is this a WOM issue or a WDL issue?
AFAIK this was never in the WDL spec so if Cromwell did allow it, it was probably a bug and therefore removed.
Having said that, something like allowing global values to be imported would be great - to add it, it'll need to be made as a WDL language addition, then we can support it in Cromwell (properly!)
As far as I remember, in the Past it was possible to reference global workflow variables inside a task. But now I get wdl validation errors like this:
Here is the wdl