Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Dave G on January 01, 1970, 12:00:00 AM

Title: How can I find strategy name
Post by: Dave G on January 01, 1970, 12:00:00 AM
I want to call a subroutine in URS and pass it my strategy name so it can record which strategies have been called and how often. Is there a way of finding out the name of an executing strategy? Is ther a better way of achieving the required result?
Title: How can I find strategy name
Post by: Mark Newcomb on January 01, 1970, 12:00:00 AM
Have you tried using the ERS monitoring.... it shows you how many attempts to use a strategy have been made, along with a breakdown in # and % throughout each part of you strategy whilst your strategy is running.
Title: How can I find strategy name
Post by: gauthier on January 01, 1970, 12:00:00 AM
That's an idea, but you loose all the stats if you restart URS or Message Server. Other problem is that that solution is very resource cosuming for your servers.
Title: How can I find strategy name
Post by: Dave G on January 01, 1970, 12:00:00 AM
This is ok visually, but I want it so I can record it electronically and analyse it later.
Title: How can I find strategy name
Post by: Beancurd on January 01, 1970, 12:00:00 AM
How about defining a function just before the subroutine call that attaches the subroutines name as UData
i.e. Attach['UD_Sub_Name','Subroutine Name Here']
Hope it helps,

Beancurd
Title: How can I find strategy name
Post by: Vic on January 01, 1970, 12:00:00 AM
We do it this way :)
We add a strategy name as one of the attach data parameters so that we know how far the call went and where the problem happened (if it defaulted, for example). It is not really cool, but would do the trick.