WRITEFILE

Writes custom data to a file, which is then written to the NICE inContact file server and becomes available for later use.

Supported Script Types

Generic Email Chat Phone Voicemail Work Item

Properties

FileName
The name of the file to create or append.
OutputText
The data to write to the file.
Append
A drop down list to select either:
  • True - adds the new Output Text to the end of the file.
  • False - erases any previous file with the same name before writing.

Branches

Default
The Default branch condition will be used unless another branch condition is met.
OnError
If the operating system could not access the file or the file name was invalid, this branch condition will be triggered.

Tips and Tricks

  • If you need to write large amounts of data, consider using a database instead. Large files can take long amounts of time and have the potential to time-out.