- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 09:08 AM
When trying to create a Service offering in the Service portfolio management, i always get the message :
'Invalid insert. Service with SN App Service ID: BSNXXXXXXX already exists.'
I think the counter parameter for incrementing the count is wrongly set.
Anyone knows how to solve this ?
Solved! Go to Solution.
- Labels:
-
Service Portfolio Management
- 5,111 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2021 02:29 AM
Goto the table and sort desc by number
You can able to see the latest number.
Now goto the number maintenance
https://[instace].service-now.com/sys_number.do?sys_id=ad681b6ddf1032002323d0a65df2633e
Update the counter in show counter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2021 12:04 AM
What do you mean different number ?
I cannot make a selection of the internal BSNxxxxxxx number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2021 02:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2022 09:29 PM
System Definition > Number Maintenance -> go to the table and update the counter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2021 08:53 AM
It's also worth noting that on the Mapped Application Service table (cmdb_ci_service_discovered) there is a separate UI action 'insert and stay' that for some reason tries to copy the number field across from the record you are cloning, rather than ignoring it, so you can't use insert and stay for mapped application services after the Paris release without amending the UI action:
find the part of the script that looks like this:
if (fName.startsWith('sys'))
continue;
if (fName.startsWith('view'))
continue;
if (fName == 'layer')
continue;
and add an extra clause:
if (fName == 'number')
continue;
then you can use 'insert and stay' on mapped application services just ike any other record, and the autonumber will allocate the next sequential number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2021 07:21 AM
Hello All,
Did anyone try adding the extra clause in the "Insert & Stay" business rule and see whether it worked?
if (fName == 'number')
continue;
I have now added it but cannot test unless something comes up...