---
title: "Action: Restore original / Sync file names with object title"
description: "## Configuration options when Action is RestoreOriginal If the selected action is **RestoreOriginal**, the following configuration options are available: - [Filename Wildcards](#filenamewildcards-restore) - [placeholderText](#placeholdertext-restore) ### Filename wildcards *State Actions > State Action [1]* > *Configuration > Filename wildcards* *Displayed for…"
url: "https://extensionkit.unitfly.com/documentation/document-processing-action-restore-original-and-sync-file-names-with-object-title/"
updated: "2025-05-01"
category: Configurations / Document Processing / Simple Rule Configuration
---

# Action: Restore original / Sync file names with object title

## Configuration options when Action is RestoreOriginal

If the selected action is **RestoreOriginal**, the following configuration options are available:

- [Filename Wildcards](#filenamewildcards-restore)
- [placeholderText](#placeholdertext-restore)

### Filename wildcards

*State Actions > State Action [1]* > *Configuration > Filename wildcards*

*Displayed for all actions **except** AddOrReplaceFile and RemoveFile.*

Specifies the filename wildcards used to select files from the object on which the action will be executed. Original file needs to match any of the specified wildcards in order for action to be executed on it. If multiple files match one of the wildcards, the action will be executed separately for each matching file. These wildcards are useful for searching and filtering files, especially when handling a large number of files or when the exact filename is unknown.

1. Expand **Filename wildcards**.
2. Click on **Add placeholderText**.

### placeholderText

*State Actions > State Action [1] > Configuration > Filename wildcards > placeholderText*

A placeholder field to enter the wildcard. For example:

- `*.pdf` to find all PDF files.
- `invoice*` to find all files that start with "invoice" (e.g., `invoice2021.docx`, `invoice_final.pdf`).
- `*` to find all files.

---

## Configuration options when Action is SyncFileNamesWithObjectTitle

If the selected action is **SyncFileNamesWithObjectTitle**, the following configuration options are available:

- Filename Wildcards
- placeholderText

### Filename wildcards

*State Actions > State Action [1]* > *Configuration > Filename wildcards*

Specifies the filename wildcards used to select files from the object on which the action will be executed. If left empty, `*` is used by default, meaning it will search for all files in a multifile object whose title matches the object's title in one of the previous versions.
