The CreatorCon Call for Content is officially open! Get started here.

shouvik
ServiceNow Employee
ServiceNow Employee

How to clone a request in Service Catalog and have the same request for others?

Here are few ways to clone request for others.

1. Till fuji we had a property 'glide.sc.allow.checkout.clone'. Set this property to true, and you will be presented few additional Requested For fields in the final checkout screen.

find_real_file.png

2. From Fuji, we have deprecated 1 if 'glide.sc.use_cart_layouts' is set to true. Then the feature is controlled via Maintain Cart Layout.

From the side nav, navigate to 'Maintain Cart Layout'->'Order Status Screen'

find_real_file.png

Check 'Clone Checkout' under component.

find_real_file.png

And you will get the same 'Requested For' option in final checkout page.

find_real_file.png

For advanced customer who wants their own Clone Request feature on the Request itself, here are few steps you can do to achieve the same.

Firstly, request can only be cloned and not request items. You can add more request items to a request via the 'Add New Item' UI Action, as long the request state is requested (Pending Approval). 'Requested For' is associated with the Request(sc_request)

Create a new UI Action 'Clone Request'. You can have the same condition current.request_state == 'requested'

find_real_file.png

Create a UI Page 'clone_request_picker' which is used by the UI Action GlideModal.

find_real_file.png

find_real_file.png

find_real_file.png

And this will how it will work.

Attached is the update set for the same.

12 Comments