FILEEXIST
![]() |
Verifies the existence of a file in your business unitFile format associated with Microsoft Excel; may also be expressed as .xlsx on the NICE inContact platform. |
Supported Script Types
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Generic | Chat | Phone | Voicemail | Work Item |
Properties
- FileName
- This property is the name of the new file. There is a browse (...) button in this property. When you click this button, the different files that exist on your business unit are available to select.
Branches
- OnTrue
- If the file exists, this branch condition will be triggered.
- OnFalse
- If the file does not exist, this branch condition will be triggered.
Tips and Tricks
- If the file exists, the True branch condition will be triggered; otherwise, the False branch condition will be triggered.
- Files types can be of any kind, including voice recordings, email attachments, and fax documents.
- If you are looking for a file, such as a voice recording, use a WAIT action to give the script a few seconds to find the file.
- The file will be copied to the file server. It can then be verified that it exists.
- The larger the file, the longer you will need to wait for the file.
- Files can be viewed in the File Manager in Central.
Phone Script Example Using FILEEXIST
This script example is an event in which a call is released. If a voicemail has not been left, the filepath will be deleted. If a voicemail has been left, the system will wait for five seconds and then check if the voicemail file is in the file system. If it's not there, it will loop around and check again in five seconds (this loop checks five times). When the system finds the file, the system will queue it to be heard.
Would you like to download this script?