Target table's INC number is not returned in response through staging table URL (Ebonding)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 07:29 AM
We are doing E-bonding integration bi-directionally from instance A to instance B using web-service REST message.
We have a staging table in our Instance A. Whenever incident is raised from instance B it will create a record in our staging table of instance A and with the help of transform map we are the mapping the created record from staging table to incident table.
Now we are facing an issue i.e., whenever a record is creating from instance B we need to send the incident number in the response instead of staging table's number.
As an endpoint we have shared our staging table's URL and the method used is POST.
Kindly help us in resolve this so that we can send the incident number in response!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2024 08:36 AM
Hi @HrithikaPaida ,
1. if you are using a scripted rest API you can update the script and send the response.
2. if the instance A is using import set API to create the ticket instance B you can updated the "display" attribute of the table to number instance A will get the response as with body contains key "display_value" as number.
3. if the instance A is Using table API to create the record in instance B you can ask them to use the import set API and implement update the display of table to number.
4. instance A can call the instance B again with the response to extract the number.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2024 12:37 AM
Hello @HrithikaPaida
Why did you send the staging table record through B instance staging table only for maintaining the data consistency so if you are send table record through B you should send main incident table and in instance A it store first in staging then it will transform to the target table in A instance . if you are sending the records of main table it should send that not staging table . And try to use Scripted Rest API to send the servicenow data (inbound).
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Thank You