Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Having an issue mapping a Variable to a Field within Record Producer

trishlipe
Giga Expert

I have a variable I am trying to map to a field within the Record Producer. I have been able to map all of the fields except for one. I have been able to successfully map Caller, Requested by Date, and Short Description with no issues. I do not understand why the location filed will not work?

When setting up the variable I have made sure that the Name matches the field I am trying to map to, just like the others I have mapped. When testing this, if I change the name to department, the variable maps to the department field with no issues. When I change the name back to location, the variable will not map to the location field.

Does anyone have any suggestions on how to resolve this issue?

find_real_file.png

 

1 ACCEPTED SOLUTION

Vik7
Mega Expert

trishlipe,

 

At this point name or question of the variable doesn't matter, please change change the type of variable to reference and reference tabel as cmn_location for the variable that should fix the issue. Please refer to below screen shot.

 

find_real_file.png

View solution in original post

4 REPLIES 4

Vik7
Mega Expert

Hi trishlipe,

 

I think  field type of variable "Location of Request" should be the same as  field type of field (Location) you're trying to map.Can you please check the field type of location in table you're trying to map?

 

Thanks,

Vik. 

 

Here is the field I am trying to map to. I have tried changing the Question to 'Location' and I have tried changing the name to 'cmn_location'.

find_real_file.png

 

I have the location variable set up the same as the others that are working.

Below is the Requested due by date. This is mapping correctly.

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

Vik7
Mega Expert

trishlipe,

 

At this point name or question of the variable doesn't matter, please change change the type of variable to reference and reference tabel as cmn_location for the variable that should fix the issue. Please refer to below screen shot.

 

find_real_file.png

You are wonderful and the screenshot was very helpful. This did resolve the issue.

Thank you very much. :0)