Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: PFCCWA on June 22, 2021, 08:55:05 AM

Title: Show WDE customization variable in logs
Post by: PFCCWA on June 22, 2021, 08:55:05 AM
hello,

i have customized WDE so it creates and populates a URL in browser upon call answer.
the customization itself takes existing attached userdata, concatenates and forms a http URL through the use of an internal variable (var_url).  the reason why we are doing this in WDE is to encode the URL string.
What i want to do is show this variable value (after encoding) in any of the Genesys logs (tserver, urs preferably). 
When i check either log on the EventEstablished, it is not present (not showing in local WDE log either).
Is there a way i can do this? our agents cannot see what the initial URL is either because there is an immediate redirect so makes troubleshooting difficult.  I am also thinking to find a way to add this into a casedata field so agents can see it that way.

thanks,
Title: Re: Show WDE customization variable in logs
Post by: cavagnaro on June 22, 2021, 01:08:24 PM
If Interaction is at WDE already, URS has said already bye, so, can't print anything on it.
When you say it is not at WDE logs, how did you print it? log4 maybe? Any other log output works?
If this is a var in WDE memory, maybe add it as UData so then TServer will do a print of it.

Title: Re: Show WDE customization variable in logs
Post by: PFCCWA on June 23, 2021, 08:28:21 AM
hello,

thanks for the reply.
i am not clear on how to add the var in the WDE customization as udata.
i can use the existing attached userdata to create the URL var but how would i create a kvp in the wde customization.

regards