Variable value shown in Req item instead of label

WA1
Kilo Sage

Hello, 

I have 2 variables "application" and "type_de_demande " with type 'Select Box", the values of the second variable "type_de_demande" depend on the value selected in the first variable "application". 

find_real_file.png

To do this, I have created an onChange Catalog Client Script : 

find_real_file.png

When I created the service request, I found that "Type de demande" shows the value and not the label : 

find_real_file.png

I don't think that the problem is in the Catalog Client Script because in the form we have labels shown which are correct. 

Do you have any suggestions please?

Thank you in advance.

1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

On this variable, does the choice list exist?

 

I think what is happening is that choice list doesn't exist, you are only creating the choices on the fly with code. So when you submit the task it only has the value but nothing to map the Label.

So look at the variable and add the choice list(all possible options)

 

-Anurag

View solution in original post

4 REPLIES 4

Anurag Tripathi
Mega Patron
Mega Patron

On this variable, does the choice list exist?

 

I think what is happening is that choice list doesn't exist, you are only creating the choices on the fly with code. So when you submit the task it only has the value but nothing to map the Label.

So look at the variable and add the choice list(all possible options)

 

-Anurag

Checking these might also work

find_real_file.png

-Anurag

The choice list doesn't exist as you said, I will add it and see if it works.

Thank you 

Cool, Do mark the response as correct/helpful if it solves the issue.

-Anurag