How to convert case to incident?

krishnachowdary
Tera Contributor

Hi Team,

Could you please provide the solution for below quetion.

Q) How to convert case to incident and case to change ?

Could you Please provide me the solution for the above question step by step.

 

Thanks in advance.

 

 

Regards,

Krish M. 

5 REPLIES 5

Dhananjay Pawar
Kilo Sage

Hi,

Can you elaborate more on this?

Thanks,

Dhananjay.

Willem
Giga Sage
Giga Sage

You can create an UI Action as follows:

var gr = new GlideRecord('sn_customerservice_case');
gr.short_description = current.short_description;
gr.description = current.description;
var customerservicecase= gr.insert();

GlideSysAttachment.copy('incident', current.sys_id, 'sn_customerservice_case', customerservicecase); //copies attachment if any can be commented if required.

current.u_incident= customerservicecase;////Considering there is a custom Incident field on customer service form that copies the sys_id of incident.
current.update();

action.setRedirectURL(gr);

https://community.servicenow.com/community?id=community_question&sys_id=4e87fde21b1bb700ada243f6fe4b...

sriram35
Kilo Guru

Hi Krish,

 

1. Open any case in your Instance.

2. Right-click on the form. Then we have an option called Create Incident and Create Normal and Standard Change.

find_real_file.png

 

If you Click create Incident then it will create a new Incident and case number will update on the Activity Stream.

find_real_file.png

In the same way, you can create a change request also.

 

Hope this helps!

If I have answered your question, please mark my response as correct and/or helpful.

Thanks,

Sriram

 

Hi Krishna,

 

Hope you are doing good.

Let me know if that answered your question.

If so, please mark an appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

 

Thanks

Sriram