Add Config Field
addConfigFieldAdd a Policy question to this automation. Its key is custom_ plus the label in snake_case, with _2, _3 and so on appended when the key is taken, and it is placed at the end of its section. A module template reinstall never changes a field added here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Code for the field, unique within the automation; derived from the label when left out | |
| type | Yes | Value type; compound and sourcePointer are template-only | |
| label | Yes | Short name for the field, shown as its row heading | |
| roles | No | Keys of the process roles whose holders answer this question; empty means anyone | |
| columns | No | Required for table, refused otherwise | |
| options | No | Required for select and multiSelect, refused otherwise | |
| section | No | Section to add the field to, or null for none | |
| bindings | No | How the value reaches the automation (context, tool) | |
| question | Yes | The setup question asked for this field | |
| fill_mode | No | How the field is filled (interview, setup) | interview |
| automation_id | Yes | The automation's unique identifier |