diff --git a/docs/arcaflow/workflows/flow-control.md b/docs/arcaflow/workflows/flow-control.md index f2b396a..ab9135f 100644 --- a/docs/arcaflow/workflows/flow-control.md +++ b/docs/arcaflow/workflows/flow-control.md @@ -106,9 +106,10 @@ the disabled output, which will output either the success output or the disabled The oneof tag is a method of creating a schema `one_of_string` type from values present in the workflow. The syntax of `!oneof` is: + - Following the tag `!oneof`, create a new YAML section (map) by starting an indented new line. That section should contain two properties: - - discriminator: A string that specifies what the oneof discriminator should be. The discriminator specifies which option was emitted. - - options: A YAML section (map) that contains all options. The keys are the discriminator values, and the values should be valid expressions. + - discriminator: A string that specifies what the oneof discriminator should be. The discriminator specifies which option was emitted. + - options: A YAML section (map) that contains all options. The keys are the discriminator values, and the values should be valid expressions. Example: ```yaml title="workflow.yaml"