Unable to Set Correlation ID field using Import Set API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 01:21 AM
Hi All,
I am trying to set the Correlation ID field value using the import set API, even-though the value is sent in the Request and it is mapped in the transform map, I am not able to set the value in the Correlation ID field it is always empty any suggestions on setting this field value
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 02:26 AM
@Gowtham Kodali
remove the field mapping
let's try using an "onBefore" script in the transform map.
Code you can use:
var cr = source.u_correlation_id.toString(); -> replace u_correlation_id with your field
if (cr)
target.correlation_id = cr;
Please mark this response as Correct and Helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 03:04 AM
Hi Eshwar
I tried it in the onbefore script its not working