Fileexist

Verifies the existence of a file in your business unitClosed High-level organizational grouping used to manage technical support, billing, and global settings for your CXone environmenttenant on the CXone platform.

An excessive load is placed on your system when these conditions are met: 

  • Your tenant has more than ~15 concurrent calls.
  • The scripts that are running contain file-related actions, such as Writefile, Readfile, and Fileexist.

This results in throttling. Your tenant will experience latency with script execution and other functions, including contact handling and state changes, until the backlog of processes completes.

Supported Script Types

Properties

Property Details
FileName The name of the new file. The drop-down displays different files that exist on your tenant are available to select.

Branches

Branch Details

True

Path taken if the file exists.

False

Path taken if the file does not exist.

Tips & 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 CXone.

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?