Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Delete operation against 'sn_install_base_sold_product' from scope 'rhino.global' has been refused

Alon Grod
Tera Expert

Im trying to delete a record in 'Sold Product' table using scripted REST API but im getting this error. The Scripted REST API is in Global Application. how can I override this? 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@Alon Grod 

sold product table is in other scope and Can Delete is unchecked

hence your script can't delete that

 

AnkurBawiskar_0-1770107889112.png

Check that checkbox and it should work

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

1 REPLY 1

Ankur Bawiskar
Tera Patron

@Alon Grod 

sold product table is in other scope and Can Delete is unchecked

hence your script can't delete that

 

AnkurBawiskar_0-1770107889112.png

Check that checkbox and it should work

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader