Rename Files

Business Background

Manage file names with greater flexibility during workflow.

Titan Solution

This feature allows you to rename file variables dynamically based on other variables or simple text, providing greater flexibility in managing file names during workflows. This enhancement resolves the issue where files could not be renamed before sending, ensuring seamless file handling and improved user control.

How to Video

Coming soon!

How to Guide

You will learn how to configure the Rename Files node in Titan Flow and then see an example of how to use it in Titan Web.

Configure the Rename Files node in Titan Flow

Note:

Prerequisite:

Create a custom file variable for this option that refers to the document.

In this example, the file variable is called “file_var_rename.”

  1. Click the + icon to add a node. The Add Node screen opens.
+ icon to add a node
+ icon to add a node
  1. Under Action, click the Rename Files option and then click the Next button. The Add Node/Rename FIles screen opens.
Rename Files node
Rename Files node
  1. Use the drop-down list to select the File In file variable.
  2. For a Static file name, type the new name in the field.
Add Node/Rename Files screen
Add Node/Rename Files screen
  1. Alternatively, for a Field file name, use the drop-down list to select a variable.
  2. Click the Next button.
Add Node/Rename Files screen
Add Node/Rename Files screen
  1. Update the tag if necessary and click the Insert button. The Rename File node is inserted.
    • In this example, the file will be emailed.
  2. Click the + icon next to the Rename Files node.
Rename Files node added
Rename Files node added
  1. Under Action, click the Send Email option and then click the Next button.
Send Email node
Send Email node
  1. Configure the email settings.
Note:

Make sure to select the file variable as the attachment.

This image has an empty alt attribute; its file name is image-79.png

  1. Click the Apply button and then click the Next button.
  2. Change the tag if necessary, and then click the Insert button. The Email node is added.
Send Email node added
Send Email node added
  1. Save and Publish the Flow project.

Use the Flow in Titan Web

  1. Create a Web project with a file upload element and a button.
  2. Click the On Click Action icon.
On Click Action icon
On Click Action icon
  1. Click the + icon next to the Start node.
  2. Under System action, click the Flow option and then click the Next button.
Flow node
Flow node
  1. Use the drop-down list to select the Titan Flow project.
  2. Click the Configure Parameters button.
Add Node/Flow  screen
Add Node/Flow screen
  1. Use the drop-down list to select the Choose File field parameter.
  2. Click the Apply button.
Configure Parameters screen
Configure Parameters screen
  1. On the Add Node/Flow screen, click the Next button.
  2. If necessary, change the tag and click the Insert button. The Flow node is added to the On Click Action screen.
  3. Click the Apply button.
Flow node added
Flow node added
  1. Save and Preview the project.

A file can be uploaded, and the user can view the original name.

File uploaded
File uploaded

The file is renamed when they click the button, and an email will be sent to the recipient with the attachment with the new file name.

Renamed file
Renamed file

Hidden Title

Need more help?