Unable to create a service offering

Frank70
ServiceNow Employee
ServiceNow Employee

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 ?

 
1 ACCEPTED SOLUTION

Goto the table and sort desc by number 

find_real_file.png

 

You can able to see the latest number.

Now goto the number maintenance 

https://[instace].service-now.com/sys_number.do?sys_id=ad681b6ddf1032002323d0a65df2633e

find_real_file.png

Update the counter in show counter 

View solution in original post

10 REPLIES 10

Frank70
ServiceNow Employee
ServiceNow Employee

What do you mean different number ?

I cannot make a selection of the internal BSNxxxxxxx number

 

Goto the table and sort desc by number 

find_real_file.png

 

You can able to see the latest number.

Now goto the number maintenance 

https://[instace].service-now.com/sys_number.do?sys_id=ad681b6ddf1032002323d0a65df2633e

find_real_file.png

Update the counter in show counter 

System Definition > Number Maintenance -> go to the table and update the counter

damianfell
Tera Guru

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.

Nilanjan Bose
Kilo Contributor

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...