How to map multiple fields in record producer to single field in incident

niteesh
Kilo Contributor

Hello,

I created three questions in record producer. I wanted that three fields should be map to "SubCategory" in Incident table. I checked the map field in all three questions.

But only one field is going to be updated in the incident table. Remaining fields is not updating. It is showing as "There is 3 other variable(s) with the same name associated with the catalog item".   I am working in Helsinki.

Can anyone help me out

Thanks,

Nitesh

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hi,



You can use the record producer script found under "What it will contain" tab.



Add this script and modify according to your logic on variables;



current.sub_category = producer.variable_1 + producer.variable_2 + producer.variable_3;



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


View solution in original post

3 REPLIES 3

Alikutty A
Tera Sage

Hi,



You can use the record producer script found under "What it will contain" tab.



Add this script and modify according to your logic on variables;



current.sub_category = producer.variable_1 + producer.variable_2 + producer.variable_3;



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


thanks for responding alikutty,



for every variable i created, Name is changing to subcategory. because, i mapped it to subcategory in incident. shall i give that question or name in place of   producer.variable_1?


You can only map a single field from record producer to single field on the table. If you need to map multiple fields then it should be a different field on the target table.



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response