Update Text File Action
When triggered, this action replaces text in an editable text file. This could be any type of plain text file such as LOG, CSV, TXT or JS.
Note, this functionality is not supported for files that are being managed by Environment Manager User Personalization.
Create an Update Text File Action
- Select the node or condition to add the action.
- In the Actions ribbon, select File & Folder > Update Text File.
- In the File field, use the ellipsis (...) to navigate to the text file you want to update.
- In the Search For field, enter the text which you want to update. The search will look for the exact sequence of words entered.
- Use the checkboxes
to apply the following settings.
- Match Case - Will only match text which has the same case as the Search For text
- Use Regular Expressions - Allows regular expressions to be used to broaden the search criteria
- Multi-Line Mode - Select if either text field contains more than one line of text.
- In the Replace With field, enter the text you want to update the file with.
- Complete the optional tabs as required.
See also Configuring Actions in the Action Management help. - Click OK to create the action.