Skip to contents

An operation parameter represents a single argument for a step operation. It stores its position in the argument list, a value, and a type.

Usage

new_operationparam(
  step_id,
  position,
  name = NULL,
  value = "",
  label = "",
  type = c("literal", "input", "result"),
  loop = c("no", "yes", "auto"),
  ...
)

Arguments

step_id

The ID of the step this parameter belongs to.

position

Integer position of this parameter in the argument list.

name

The name of the parameter (default: `NULL` for unnamed).

value

The stored value for this parameter (default: "").

label

A human-readable label for this parameter (default: "").

type

Type of the parameter. One of: - "input" : value comes from user input or external input - "result" : value refers to a previous step's result - "literal": value is used as-is (a literal argument)

loop

Looping behavior for this parameter. One of: - "no" : do not loop - "yes" : always loop - "auto" : automatically determine looping, loop if input is a list else not

...

Additional metadata (optional).

Value

A `operationparam` object.