Skip to main content

Arg

An arg variable is a configuration of an input or output argument of a workflow or action

Construction

An arg is only constructed as part of an action, gateway or workflow. The syntax for the arg is as follows:

name as type (description)? (optional)?
  • name is the variable id that you want to know this argument by
  • type is the expected type of the variable
  • description is the user description of the argument
  • optional is a boolean that indicates this is not a mandatory argument (only relevant for input arguments)

Properties

An arg has the following properties:

NameDescriptionType
idThe id of the argumentScalar(String)
argTypeThe expected variable type of the argumentScalar(String)
descriptionThe user description of the argumentScalar(String)
optionalA boolean indicating if this is optional or mandatoryScalar(Boolean)

Further Reading