How to update Template field in the staging table (Incident) through Transform map?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 07:48 AM
Hi All,
I have a requirement where the customer wants to Write to the 'Template' field through REST API. We have created a import set table and through Transform Maps we are mapping the fields to the Target table (incident) .
I have created a new field 'u_template' which is of Reference type in the Import set table to map in the Target table [ incident ]. However, through Transform map, I am able to map the 'Template' field to the Incident table. Through API call the Template value gets updated in the Import set table but not in the Target table which is Incident.
Please let me know how can we update Template field in the target table . I am using one-to-one mapping in the transform map to map the Template field instead of Script.
Thanks in advance!
Regards,
Subhashree
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 07:51 AM
Hello,
Can you give more information about what "I am unable to map" means...do you mean the field isn't showing up in your list of fields for the transform map process? Or do you mean...when you select it, you can't find the "template" field on the incident table to pick...or a combination of both or what?
Your post is lacking a bit of information.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 08:00 AM
Hi Allen,
Thanks for responding. I have rephrased the question. Please have a look at it and suggest me how to update the Template field in the staging table(Incident) through Rest API call.
Template is a reference field and I have used One-to-one mapping in the Transform map.
Thanks & Regards,
Subhashree

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 08:30 AM
Hello,
Great, glad my reply above Helped.
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 08:13 AM
you can try 'REST API Explorer' module to find out if the value for template field is getting created or not?