Define an expression that will be evaluated and used to modify the behavior of a tool or workflow. See Expressions for more information about expressions and ExpressionEngineRequirement for information on how to define a expression engine.

Fields

engine

(JsonPointerORcharacter) Either cwl:JsonPointer or a reference to an ExpressionEngineRequirement defining which engine to use.

script

(character) The code to be executed by the expression engine.

Examples

Expression(engine = "#cwl-js-engine", script = "$job.inputs['threads']")
#> engine: '#cwl-js-engine' #> script: $job.inputs['threads'] #> class: Expression #>