How to Attach and attachment in Target instance on Incident record when attached on Source incident

Vinod Kumar Tan
Tera Contributor

Hi All,

We have 2 instances Source and Target and we have Integrated both for incident creation but for attachments we have created REST Message in source and trying to send the attachment to target.

The attachment is getting attached to target record but the data is missing in the attachment.

For example : REST Message

{
"u_file_name": "Demo doc 2.txt",
"u_content_type": "text/plain",
"u_table_name": "incident",
"u_base64_payload": "VVJMOiBodHRwczovL3ZvcndlcmtkZXYuc2VydmljZS1ub3cuY29tL2FwaS88eW91cl9hcGlfaWQ+L2FkZF9hdHRhY2htZW50DQoNCmpzb24NCnsNCiAgImluY2lkZW50TnVtYmVyIjogIklOQzAwMTA4ODYiLA0KICAiZmlsZU5hbWUiOiAibXlmaWxlLnR4dCIsDQogICJjb250ZW50VHlwZSI6ICJ0ZXh0L3BsYWluIiwNCiAgImZpbGVEYXRhIjogImJYa2djMkZ0Y0d4bElHWnBiR1U9IiANCn0=",
"u_record_sys_id": "6f2ce376833f2e9029977065eeaad3da"
}

In target we have created a staging table and from staging table to incident table. payload data is coming to staging table but not passing to target incident record. Just attachment is inserting to record but not the data.

Can anyone help on this?

0 REPLIES 0