- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2017 07:55 AM
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?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2017 09:00 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2018 02:30 PM
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