ESC HR URL redirect to task

eyal abu hamad
Mega Sage

Hello, 
can I create a url that redrict me to the task in esc ?

eyalabuhamad_0-1744007691552.png

i tried this url
/esc?id=hrm_ticket_page&table=sn_hr_core_task&sys_id=5001d1f78720a2105972eb9f8bbb3521
but it took me to here

eyalabuhamad_1-1744007831397.png

 

1 ACCEPTED SOLUTION

eyal abu hamad
Mega Sage

Found a solution for those who need
create URL filed on the HR task table
create business rule that fill the filed with the link
this the link

    current.u_esc_link =  'esc?id=hrm_todo&view=sp&sysparm_tableName=sn_hr_core_task&sys_id='+current.sys_id;
    current.update();
eyalabuhamad_0-1744012759714.png

 

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @eyal abu hamad 

 

The tasks are not meant for end users; they are intended for fulfillers. Therefore, technically, it’s not a valid use case.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@eyal abu hamad 

the page "hrm_todos_page" has list of to do's for the user and when they click on left side tasks it opens the HR task in same page

but the link you are using is for opening explicit HR task and view it's details.

Both are meant for different purposes.

It's not possible to redirect user to "hrm_todos_page" and the HR task being opened as it requires a manual intervention by user.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

eyal abu hamad
Mega Sage

Found a solution for those who need
create URL filed on the HR task table
create business rule that fill the filed with the link
this the link

    current.u_esc_link =  'esc?id=hrm_todo&view=sp&sysparm_tableName=sn_hr_core_task&sys_id='+current.sys_id;
    current.update();
eyalabuhamad_0-1744012759714.png