I am trying to write a text file using the "Write Document" step in my UCCX script to a network share. If use the local harddisk folder as the destination for the file then it is writing the file, but when I tried to write the file to the network share it is failing.
I mapped the network share to drive "Z:" and tried
["Z:\" +agentSelected+ ".txt"] - no luck
"\\172.16.4.58\CallCtr\" + agentSelected + ".txt"