How can you automatically approve Requests which contain a specific Request Item?

Josh102
Kilo Guru

I have a catalog item called 'New User', I would like requests for this item to be approved automatically. 

Looking at the solution in this community post, I can see that it is easy to set up automatic approval for all incoming requests using Business Rules or Flow Designer. https://community.servicenow.com/community?id=community_forum&sys_id=2e299a2ddbd897c068c1fb651f961912. But I'm wondering if there is an easy way to apply these automatic approvals for my 'New User' Request without affecting any other Requests or Request items.

14 REPLIES 14

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi Josh,

the easiest way is to create a Business Rule where you can easily specify the only Catalog Item affected by this behavior and set the auto approval there without using any line of code:

find_real_file.png

find_real_file.png

Hope this can help you.

If I have answered your question, please mark my response as correct and helpful so that others with the same question in the future can find it quickly and that it gets removed from the unanswered list.

Thank you very much

Cheers
Alberto

Did this solve your question? Or do we need to follow-up on this?

If I have answered your question, please mark my response as correct and helpful so that others with the same question in the future can find it quickly and that it gets removed from the unanswered list.

Thank you very much

Cheers
Alberto

Hi Alberto, sorry for the late reply.

I have this business rule on the sc_req_item table set to run when the New User item is requested:
find_real_file.png

It sets the approval field on the Request Item to 'approved', however it seems to leave the approval field in the Request as 'requested'

find_real_file.png

Which table did you create your business rule on? When I try to create it on the sc_requests table, I do not have the 'Items' variable as a filter condition option.

Hi Josh,

the business rule is on sc_req_item table and you need to drill-down to the Request.Approved field in the Action tab as described below:

find_real_file.png

If I have answered your question, please mark my response as correct and helpful so that others with the same question in the future can find it quickly and that it gets removed from the unanswered list.

Thank you very much

Cheers
Alberto