Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Multiple select fields do not transfer all values

Multiple select fields do not transfer all values

When using ServiceLink and transferring multiple values, how do you concandenate all the values?  Ex. - Each request is creating an HP Service Desk ticket.  We are transferring all the questions and answers from the service request to the service call information field.  If there are multiple select fields, only one selection is transferred to the service call ticket.

Everyone's tags (1)
3 REPLIES
Community Member

Re: Multiple select fields do not transfer all values

Thank you Tylor

Our out of box message looks like this:  <name>Rational_Tool_Setup.Tools_Requested</name>
<value>ClearQuest</value>
<value>Test Manager</value>

Our  XSL transformation only picks up the first value in this list.  We are  looking for help to get all values sent separated by a comma.

I am using version 2008.3 also.  Since yours is working, would you be willing to share your XSL transf

Community Member

Multiple select fields do not transfer all values

I haven't had any issues like that with our ServiceLink integrations.  I believe they come across as a comma delimited list.  You might want to check the "newScale message" in one of the ServiceLink messages and see what data is actually stored in the message.  Maybe there is something in the XSL transformation that is only grabbing one value?  I'm on 2008.3.

Community Member

Re: Multiple select fields do not transfer all values

Hi Dan -

I  can't share my code with you, but I can explain how you can accomplish  it.  Hopefully you're familiar with XSLT.  Create a  <choose> statement that checks to see if the count() of  the value nodes is greater than one.  If so, do a for-each statement  that loops through the value nodes and outputs the value and a comma (or  whatever delimiter you want to use).  Then have an otherwise statement  that just outputs the node if there is only one value.  If you don't  care about the ex

224
Views
0
Helpful
3
Replies
CreatePlease to create content