How to copy incident fields to request fields while creating request from an incident through 'Create Request' button

Khushboo1
Tera Contributor

Hi all,

I was trying to add 'Create Request' button on Incident form that should redirect to service catalog page, and after opening one of the request form from there it should have some fields like 'requested_for', 'short_description' auto-filled (copied from that incident through which we have clicked on 'create request' ) .

I have added button which is redirecting to service catalog page but doesn't have any idea how can I make those fields on request form prefilled.

Is there any way to do that?

 

8 REPLIES 8

Hi @shloke04 ,

Thanks for providing solution, i can achieve this through your proposed solution, but this solution will redirect directly to particular catalog item whose sys_id i will place in the URL.

And i want that, through button it should redirect to service catalog homepage, and user can select any catalog item from there which request they want to raise. And after opening any catalog item, some fields there(like 'requested_for', 'short_description') should auto-copied from incident.

Is there any way to do that?

@khusboo 

In that case as far as I know you will need to customize the OOB SC Category widget as well which I will not recommend just for this requirement as it is one of the core widgets.

Regards,

Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hello @shloke04 ,

I am facing the exact same issue. I am pretty new to servicenow as well. Are you concluding that it is not possible/recommended to achieve this requirement?

shloke04
Kilo Patron

Solution provided is a tried solution in my instance and works as you need. In case you are facing an issue do let me know and will help you further.

Regards,

Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke