Cannot alter automatic price approval for requests in Service Catalog

yigal
Giga Contributor

I'm trying to alter the auto-accept conditions from the defaults, $1,000, and am running into issues.   In the Worflow Editor I've made several alterations each time when I go and create a test request I get:

Request automatically approved for total price <= $1000

Currently I've set the condition to $10k, but still get the message above when creating a test request:

Service Catalog Request Workflow.png

I've altered the System Policy > Rules > Approval > Catalog Request Approval giving it the condition:

price>2000^approval=not requested^EQ

but this value similar to the one in the Workflow doesn't appear to be used in the automatic-approval consideration.   If someone could give me some suggestions as to why this might be failing, how I can debug this or, how to proceed I'd very much appreciate it.

This is for Geneva, currently this is being worked out in our dev branch.   The dev branch contains and appears to unfortunately be using some demo-data caused by previous development work using this as a dependency.

1 ACCEPTED SOLUTION

yigal
Giga Contributor

michael.ritchie Found it, and thank you, the workflow has a Set Values: Automatic Approval.   The default value for this is:



comments=Request automatically approved for total price <= $1000^EQ:



Screen Shot 2016-09-23 at 3.04.26 PM.png



Screen Shot 2016-09-23 at 3.04.37 PM.png



which is where it's being set, and not the previous stage the 'If' statement.   All good, thank you much.


View solution in original post

6 REPLIES 6

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

Yigal, Approval rules don't work with workflows so you will need to edit the workflow itself.   I see from your screenshot that you edited the name of the activity, but please confirm you changed the actual condition in the workflow:


find_real_file.png



If you did change this, please post a screenshot of this workflow activity from your workflow so I can try to help further.



Please mark this post helpful or correct if it solved your issue.


Hi Michael,



I'm sorry for some reason I didn't notice your update until now.   So unfortunately yes here is the current rule:



10K condition.png


I suspect this might have to do with using the proper update set?


siva_dirisala
ServiceNow Employee
ServiceNow Employee

Hello Yigal, did you make sure you published the workflow? Otherwise, it will be using the published version prior to your checkout.


Hi Siva,



Yes, definitely, it was published, and re-published each time I get the approval for $1,000 as opposed to the custom condition I set.