cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
910
Views
5
Helpful
1
Replies

UCCX: How to convert User variable to string variable

Hello guys,

I have a survey script. This script saves some information about a call in SQL Database

Now I would like to save the Agent ID in this database.  

I can get the Agent ID before the connection with him. But this variable is "USER". In the Database my variable is CHAR.

So I want to convert USER to String. But when I do it, I receive a lot of other information. 

Do you already do it? If yes can you tell me how you convert it?

Thanks

Regards

Sébastien

1 Reply 1

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

Use a 'get user info' step using your User variable. This has a list of properties that you can assign to variables - according to the docs, 'email' returns userid, as does 'identifier' - so play with those.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!