How to auto-approve Request record (not the requested item)

alexjyong
Giga Contributor

In our Service Catalog, we have something called General Request. In short, when we make a general request, a RITM record and a REC record are created.

For the workflow to proceed, we need to have the REC approved. Right now, you have to do that from the UI.  

I've tried adding an approval item to the workflow, but that doesn't seem to touch anything. I see the dev instances or the OOTB feature is to have a Service Catalog workflow that approves requests < $1000, but I don't appear to have this in my organization's instance.  

Approval engine is disabled on workflow for catalog items, and adding in an approval rule for Request didn't seem to do anything as well.

Attached is the photo of the workflow I'm poking at:

Screen Shot 2017-06-12 at 2.52.26 PM.png

Is there like another workflow that I'm not touching that needs to be modified? My general request service catalog item points to this workflow, and when I do the approval manually the catalog task items populate the task fields accordingly, but the don't seem to be able to touch the request record itself. Any thoughts?

9 REPLIES 9

I can't use an approval engine with this, since we need the workflow.


nishailame
ServiceNow Employee
ServiceNow Employee

Using approval rule doesn't stop your workflow, it is a way to provide gated approval for requested item. If you dont want to use that, then you can either set a BR or set value activity in workflow to approve the request.



 


Thanks.


PS: Hit like, Helpful, Correct and Endorse, if it answers your question.


HugoFirst
Kilo Sage

Here's how we do it.



We have a workflow on the top level record ( it's REQ in our case ) which "sits over the RITM records".


This workflow checks to see if an order guide is used and if so, it sends an approval request to the requester's manager.


Otherwise it automatically approves the request.


find_real_file.png


If I may jump in here (I have a similar situation), I would like to know two things;

1. How do you know if your request is from an Order guide? Do you check the OOB field on the RITM or have you developed another method?

2. When you bypass the User Approval action, you bypass the whole approval process, right? Is no user ever set on the Approver related list of the Request? Here is my issue, I would like to get the approver in the right place, and after that (based on particular rules), approve automatically. Maybe I need to use a scripted Approval action to get that to work.

 

//Per

arielgritti
Mega Sage

Hello

Maybe this can help you

You can create an workflow on the sc_request table without conditions to auto-approve all the request.

 

find_real_file.png

We use this workflow. All our request are "auto-approve" by default.

 

Please, mark correct or useful if i helped you

Thanks

Ariel