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

Deepak Ingale1
Mega Sage

Please have a look at HR Life Cycle Event plugin as well.

It provides some OOB capabilities wherein departments more than HR are involved for HR Case fulfillment process

Another way could be to write your own custom logic to create an hr_task / hr_case based on incident information.