Approval Required for a particular catalog item

nehasr1288
Tera Expert

Hi,

I have a workflow that autoapproves all request in my servicenow that is no approval required for any request.But there is this one item for

which I would require a   approval. How can I implement it without disturbing my workflow?

1 ACCEPTED SOLUTION

You can create business rule onsc_req_item table to generate dynamic approvals.



Please use below sample script



var approval = new GlideRecord('sysapproval_approver');


approval.initialize();


approval.approver = current.u_configuration_item.owner_service;


approval.sysapproval = current.sys_id;


approval.state = 'requested';


approval.insert();



Regards,


sachin


View solution in original post

10 REPLIES 10

sachin_namjoshi
Kilo Patron
Kilo Patron

You can create workflow approval activity in to generate approval only for particular catalog item.



Regards,


Sachin


No I dont want to use workflow.There is already a workflow set for approving all items.Is there any other way to add approval to a particular item


Hi neha,


So you can modify the workflow that approves all approvals, and add a condition to exclude the item.


Can it be through a business rule?