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

You can use if,switch condition in your workflow to determine catalog item and then use approval user workflow activity to trigger approval only for particular catalog item.

 

Regards,

Sachin