I need to take in 200 three character numbers, 600-799, into a variable. Then I need to make a decision, based on the numeric value, to route the call. What I want to do is set up a list of correspondng DN variables that the customer can update so they can change the destination of where symposium will route the call to. Some of these numbers will be routed internally and some will be routed externally. The numbers change from time to time and the request is in to have the ability to change the destiations within Symposium rather than have them need to adjust the DCFW of a Phantom TN.
Its possible to do with a lot of if and where statements, but I dont want the system to work so hard. I am trying to think of a way to filter out the tests to streamline it.
My question is, has anyone had Symposium do this kind of analysis and is there some scripting trick to avoid this kind of statement below. I would have to test 200 times. That seems like way too large of a number if If statements for the system to plow through. If there was a way to stitch together these variables and somehow concatenate them into the route call DN variable, that would be much less work.
Has anyone tested a number like this, you can see I have broken up the 10s and 1s place into separate values.
SECTION TEST_DXX
IF Test_YXY_cv = 00 AND Test_YYX_cv = 00 THEN ROUTE CALL D01_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 01 THEN ROUTE CALL D02_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 02 THEN ROUTE CALL D03_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 03 THEN ROUTE CALL D04_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 04 THEN ROUTE CALL D05_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 05 THEN ROUTE CALL D06_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 06 THEN ROUTE CALL D07_DN_gv
END
IF Test_YXY_cv = 00 AND Test_YYX_cv = 07 THEN ROUTE CALL D08_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 08 THEN ROUTE CALL D09_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 09 THEN ROUTE CALL D01_DN_gv
END IF
Its possible to do with a lot of if and where statements, but I dont want the system to work so hard. I am trying to think of a way to filter out the tests to streamline it.
My question is, has anyone had Symposium do this kind of analysis and is there some scripting trick to avoid this kind of statement below. I would have to test 200 times. That seems like way too large of a number if If statements for the system to plow through. If there was a way to stitch together these variables and somehow concatenate them into the route call DN variable, that would be much less work.
Has anyone tested a number like this, you can see I have broken up the 10s and 1s place into separate values.
SECTION TEST_DXX
IF Test_YXY_cv = 00 AND Test_YYX_cv = 00 THEN ROUTE CALL D01_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 01 THEN ROUTE CALL D02_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 02 THEN ROUTE CALL D03_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 03 THEN ROUTE CALL D04_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 04 THEN ROUTE CALL D05_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 05 THEN ROUTE CALL D06_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 06 THEN ROUTE CALL D07_DN_gv
END
IF Test_YXY_cv = 00 AND Test_YYX_cv = 07 THEN ROUTE CALL D08_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 08 THEN ROUTE CALL D09_DN_gv
END IF
IF Test_YXY_cv = 00 AND Test_YYX_cv = 09 THEN ROUTE CALL D01_DN_gv
END IF