Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 573 Bytes

File metadata and controls

25 lines (16 loc) · 573 Bytes

creatable_if

Conditional Creation

Control whether a new record can be created, based on a conditions reference evaluated at runtime.

Pattern 1: Always Creatable

!defs(extra_options_creatable_if_pattern_1_always_defs.yaml)

Pattern 2: Never Creatable

!defs(extra_options_creatable_if_pattern_2_never_defs.yaml)

Pattern 3: Conditional Creation

!defs(extra_options_creatable_if_pattern_3_conditional_defs.yaml)

creatable_if must be a hash using the standard conditions syntax.