How to copy submitted Request item in Service Portal?

Aki17
Kilo Guru

As the attached image below, I would like to copy Request items by clicking on UI Action button.
After clicking on it, all the variable values should be auto-populated into newly created(but not submitted) form of Request item in Service Portal.
After that, the requester will confirm the copied values and modify some of them as necessary, and then submit new Request item.

find_real_file.png

 

I believe the article below is a good example to create the UI action, but 'm not sure how to make the script work to copy the variable values in Server script of the widget.

https://serviceportal.io/create-custom-action-buttons-service-portal/


Please kindly give me some advice.

Best Regards,

Aki

16 REPLIES 16

@priceless 

Can you create a new thread for this as this is quite older one and please tag me there

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks Ankur for this response. 

Will it also work for Record Producer ?