Build-Time Parameters Tags

In Workbench 7.1(13) and later, Measure Factory scripts can take parameters when building a factory. Not every string in a factory allows parameter substitution, but the following items support use of parameters.

  • Current date or default current date
  • Formats
  • Labels
  • Descriptions
  • Definitions
  • References
  • Calc expressions
  • File paths
  • Plugins

For example:

measure-factory {
  take-parameter "Date From Production" {
    default "today()"
  }
  ...
  default-current-date "$(Date From Production)"
  ...
}

The syntax and usage for parameters in Measure Factory are the same as in Spectre. For more information, see Parameter Overview.

NOTE: The Build Factory Production node type does not support passing parameters to the factory build, so currently this can only be used on the command line or via an Execute node.