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

Copy record producer requests

jammer
Tera Expert

We have a record producer that inserts records into a custom table.  The custom table is extended from the Request table (sc_request).

 

After submission, these requests are sometimes closed accidentally or prematurely by our fulfillment team.  This causes the requestor to have to resubmit the request, which is a lengthy form.

 

I want to implement a custom 'Copy' button (ui action) for the fulfillers so that in the case of accidental or premature closure of these requests, they can basically resubmit the request on behalf of the original requestor.

 

Basically, I want the same functionality that is provided by the OOB Copy button on the Request fulfillment form for 'standard' catalog items.  But, this OOB Copy button isn't available on the record producer fulfillment form like it is on the Request fulfillment form.

 

I thought I could borrow the code from the OOB Copy ui action, but found out it is undocumented so I can't see how that works.

 

Is it possible to implement a custom version of the OOB Copy functionality for requests that were created via record producer?  If so, I could use some tips to get started.

 

Thanks!

1 ACCEPTED SOLUTION

Harsh_Deep
Giga Sage
Giga Sage

Hello @jammer 

 

Please check this -

https://servicenowguru.com/system-ui/ui-actions-system-ui/copy-ui-action-change-requests/

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

 

View solution in original post

2 REPLIES 2

Harsh_Deep
Giga Sage
Giga Sage

Hello @jammer 

 

Please check this -

https://servicenowguru.com/system-ui/ui-actions-system-ui/copy-ui-action-change-requests/

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

 

Harsh_Deep, thanks for your response.  I see the ServiceNow Guru code that you suggested to me was written sometime around 2009.  This must have been before SN delivered their own 'Copy Change' functionality?  Anyhow, I will look into this approach and see if I can borrow from it in order to copy my record producer requests.

 

I will mark as helpful for now.  If it turns out to be my solution, I will come back and mark it as the solution.  Thanks again for your time!