How do we map feilds in incident form from record producer

sushmachava
Tera Contributor

How do we map feilds in incident form from record producer if we dont have any  similar feilds in incident table

 

 

10 REPLIES 10

thanks peter that helps

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @sushmachava 

 

Greetings!!

 

Please check the OOTB record producer , where you will get idea how the OOTB fields mapped. The same way you can build.

 

Please mark my answer helpful or solution accepted if it serves the purpose.

Regards

Atul G

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

SwarnadeepNandy
Mega Sage

Hello @sushmachava,

 

To map fields in the incident form from a record producer, you need to use the Map to field variable attribute. This attribute allows you to specify the target field in the incident table that you want to map the variable value to. For example, if you have a variable called description on your record producer form, and you want to map it to the short_description field in the incident table, you can enter map_to_field=short_description in the Variable Attributes field of the variable.

However, if you don’t have any similar fields in the incident table that match the variables on your record producer form, you have two options:

  • You can create new fields in the incident table that correspond to the variables on your record producer form. You can use the [Create a new field] article as a guide for creating new fields in a table. Then, you can use the Map to field attribute to map the variables to the new fields.
  • You can use a script to copy or transform the variable values from the record producer form to the incident record. You can use the Script field on the record producer form to write a script that runs after the record producer is submitted. You can use the [current] object to access the newly created incident record, and the [producer] object to access the record producer form. You can use the [g_form] object to get or set values on either form. You can use the [Create a script for a record producer] article as a reference for writing scripts for record producers.

For more information about how to map fields in incident form from record producer, you can refer to the following links:

Hope this helps.

 

Kind Regards,

Swarnadeep Nandy

Hi Swarna deep

 

if we create new feilds on the incident table that will apply to all the records in incident right how can we override this