IT to HR ticket transfer

Maheshwar VS
Mega Expert

Has anyone implemented IT to HR ticket transfer? Similar functionality like HR to IT case transfer... 

1 ACCEPTED SOLUTION

Abhijeet Upadhy
Tera Expert

Hello Mahesh

 

Create a UI Action on Incident Form:

 

Script: var gr = new GlideRecord("sn_hr_core_case");

gr.initialize();

gr.opened_for = current.caller_id;

gr.short_description = current.short_description;

//copy all the fields needed.

gr.insert();

current.state = "7";//close the incident

 

Thanks

Abhijeet Upadhyay

View solution in original post

5 REPLIES 5

Abhijeet Upadhy
Tera Expert

Hello Mahesh

 

Create a UI Action on Incident Form:

 

Script: var gr = new GlideRecord("sn_hr_core_case");

gr.initialize();

gr.opened_for = current.caller_id;

gr.short_description = current.short_description;

//copy all the fields needed.

gr.insert();

current.state = "7";//close the incident

 

Thanks

Abhijeet Upadhyay

Hey thanks for your suggestion however we are using Legacy HR module since Helsinki and not the Scoped HR application. In this case would the above script?

Yes the above script will work fine..

Thanks guys figured out a way to get this working...