Map to Field in Record producer

ankitaverma
Giga Expert

Hi All,

I just wanted to know why we map the field of a variable with the table field.

If we create a record producer and submit the form then also we get the data in table after submission.

What is so specific about the mapping?

Thank you,

Ankita Verma

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ankita,



There are two ways to push data on target table.


1.Can be done via field map


2. If filed map is not defined then name of the record producer variable should match with target field exact column name.



If either of the above case is true then only data is migrated to the field on target table.


View solution in original post

3 REPLIES 3

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ankita,



There are two ways to push data on target table.


1.Can be done via field map


2. If filed map is not defined then name of the record producer variable should match with target field exact column name.



If either of the above case is true then only data is migrated to the field on target table.


Hello Pradeep,


Thank you for your reply.


But could you please let me know what will be the difference if i dont map the field of a variable.


Than also after submitting the form the variable data get captured in req item table.



Thank you,


Ankita Verma


Hey Ankita,



I think you are getting confused here with variable editor display on requested item. Mapping to field means updating the value on the field on target table.


For ex lets assume you have caller field on record producer as variable and now you want this to be copied to "caller_id" field on incident table, in this case you have to map field on record producer.



Please let me know if you have any questions.