Gets datatable headers as a list. Extracts all column header names from the table schema and returns them as a list of strings.
- Label: Base table
- Description: Table whose header is to be saved as list.
- Required: Yes
- Default: None
- Constraints: Variable type: Table
- Label: Trim leading and trailing whitespace
- Description: Controls whether to remove leading and trailing whitespace from header names. When false (default): Keeps whitespace as-is (e.g., ' Name ' remains ' Name '). When true: Removes whitespace (e.g., ' Name ' → 'Name').
- Required: Yes
- Default:
false - Constraints: None
Returns a LIST containing the selected table headers as a list of strings.
Throws BotCommandException on invalid input or internal failure.
