Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

7.2 ICM Script - Need to Grep for data within Formula Editor

We  have a massive SET_SKILL script.  I'm the FNG and have been

tasked with grepping every IF node in this script and using the formula editor

to determine the 4 digit Route Code and where that Route Code is being routed.

The current engineering team has built an Excel macro that involves cutting and pasting the body of text

from formula editor into the Excel macro and repeating that process over and over and over!

There are literally hundreds of IF nodes in this script and I am hoping that someone has run into a similar

need before.  I've tried exporting the script but can't figure a way to read and grep the proprietary format for the 4 digit code and

the next node it is being routed to.

See attached screenshots.

TIA,

Amir

  • Contact Center
4 REPLIES

Re: 7.2 ICM Script - Need to Grep for data within Formula Editor

I don't know of a way, you could try and use the Find command in the script editor.  Personally, just on what you've stated so far, I would spend the time in redesigning your scripts, they sound like an absolute nightmare.

david

New Member

Re: 7.2 ICM Script - Need to Grep for data within Formula Editor

lol - that would be a very accurate description of our scripts!

Green

Re: 7.2 ICM Script - Need to Grep for data within Formula Editor

"Find" can certainly work for you.

If I were building that script, rather than have a huge set of IF nodes like that, it's much easier to do this with a CLID node with the "expression" set. This node is often used to analyze area codes of ANIs and route accordingly, but it has a lot of flexibility.

You will get a nicer style of branching and you can set up all the patterns and in Excel and copy and paste them right in there.

This is a CVP script where I am looking at Caller Input coming back from Audium to decide on what to do with the menu item selected.

Regards,

Geoff

New Member

Re: 7.2 ICM Script - Need to Grep for data within Formula Editor

Thanks Geoff.  My conclusion is that the script needs to be re-designed.  For now,

I'll labor through the cutnpaste process to grab the data that I need from the script.

Regards,

Amir

631
Views
8
Helpful
4
Replies
This widget could not be displayed.