cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1218
Views
0
Helpful
4
Replies

UCCX. Script Editor. String conversion.

DOM.RF NOC
Level 1
Level 1

Colleagues, good day!

Please tell me such a simple thing: how in UCCX script editor convert a string like:
 

"User [type = Call Manager User, id = aa.ivanov, authenticated = true]"
 

in the following string:
 

"aa.ivanov"
 

I'm not familiar with the Java programming language, and I'm having some difficulty with this.

 

Thanks in advance!

1 Accepted Solution

Accepted Solutions

Hi,

you might want to use the Get User Info step. Then map the identifier field to a String variable.

G.

View solution in original post

4 Replies 4

Gergely Szabo
VIP Alumni
VIP Alumni

Hi,

OK, from the beginning. What is the original variable type (the one with User [type etc)?

G.

Yes, originally it is a user type variable. And i need to get only user id in string variable.

Hi,

you might want to use the Get User Info step. Then map the identifier field to a String variable.

G.

Thank you very much, everything worked out. This option is much easier.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: