- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 09:02 AM
Hello everyone,
My organization is working in the Order Management for Telecom, Media & Tech application. Currently, we're using the OOTB functionality where customer accounts need to be set up in ServiceNow before they can be sent via payload. If the account is not set up in ServiceNow, then we receive this error message:
{
"message": "Invalid payload: Customer Account does not exist",
"datapath": "/relatedParty/"
}
This brings me to my question. I have a requirement to automatically create customer accounts from the incoming payload if the customer account does not already exist in ServiceNow.
Has anyone done this before or have any suggestions or guidance on this?
Any help would be greatly appreciated!
Best regards,
cnharris1
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2023 12:41 PM
How about updating your integration steps/process
First use table API to check if the Account exists, and if not create it.
then send your payload.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 03:03 PM
Thanks again Tony! It took me a while to figure it out, but I found out where I needed to change my code and was able to create the account if it didn't exist.