I am rather new in UCCX world especially in scripting, I have just created a basic script with a Hidden Sub Flow to another script which allows caller to enter their mobile number and then save it in a Document.
Now, I want to know how can we do the call redirect the mobile number which been saved in the .txt document?
Currently, as a workaround I created a variable Mobile1 and set a fix value (Please refer to attachment) but we're looking for a more flexible setup whereby call will be redirect to the last updated number in the document.
Rather than giving it a static value, simply pull the number from document that exist in subflow script and store it on some variable in local/original script. Then use Set step to map a string variable let's say NumberToCall to that variable you pulled from other script. then in Call Redirect step choose the NumberToCall variable under Destination
Set NumberToCall = "name of variable" storing the value of callback number"