How do I drop or remove digits from a inputted digit string step? - a bank wants to collect account numbers and needs to drop all leading zeros - this could be one or two zeros or none at all depending on the account number. Is there a way for the script to look at the digits inputted, and drop leading zero's if any? i.e. if I input "00123456789" as my account number - the agent (the number is going to be used for a screen pop) needs to see "123456789" - how would I do this?
The easiest way with IPIVR/CRS is to write a custom Java class. You need to have the "Premium" licence in order to add your own Java classes to the engine. If you have this option in IPCC Express or IPIVR, Java classes are the way to go.
You don't say if you are using ICM/IPCC. If so, and if you can't use Java classes, you could probably do this with ICM scripting.
Load it into a Peripheral Variable (pv) in IPIVR and hand it back to ICM. Then manipulate the string someting like ...
One leading zero:
if subscript(pv,1,1) = "0" && subscript(pv,2,1) != "0" then new_pv = subscript(s,2,(len(pv)-1))
Two leading zeros:
if subscript(pv,1,1) = "0" && subscript(pv,2,1) = "0" && subscript(pv,3,1) != "0" then new_pv = subscript(s,3,(len(pv)-2))
Not that great I'm afraid - when looking at the java options - it not real clear to me what the different methods do - the editor guide doesn't give any explaination of them at all. Any help you could provide would be appreciated. But I think I see your point - I think it *could* be done - I'm pretty sure I can get it to look at the data - but I think what is throwing me is how to remove the digits.
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...
The below trick might come handy when you have to add a new node to a cluster but you don't have or is unsure of the security password for the publisher. This procedure has been around for ages.
1) Login into the CLI of the Publisher.