File actions / Action reference
Extract file metadata
Read a file's name, size, dates, and type.
Read Shared action rules for disabling this action, outputs, error routing, and recovery. Also read File sources and destinations.
Configuration and behavior
| Parameter | Default | Notes |
|---|---|---|
| File to inspect | ${item.path} |
|
| Detect type from content | off | Reads the first 512 bytes to identify the type instead of mapping the extension. |
Outputs, also published as ${vars.file.…}: base (name with extension), stem, ext (with dot), size (bytes), created, modified (RFC 3339 UTC), type (MIME; application/octet-stream when unknown). Where the filesystem records no creation time, created equals modified.
During a Workflow Test this action reads the actual file that reached it. Like every Test step, it records protected Received and Produced evidence in the Test Job.