- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2023 10:42 PM
Hello All,
I have a HR Case in which a HR task is present, I want a UI Action on the respective to redirect it to the subject person of its parent HR case.
Please Help me with it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2023 10:52 PM
Hello @shadoworg
Go to Application Navigator >System Definition > UI Action.
Create New UI Action on the HR Task table.
You need to write script
action.setRedirectURL();
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2023 11:18 PM
Hello @shadoworg
add this script :-
var sysId = current.parent.subject_person;
var url = 'sn_hr_core_profile.do?sysid=' +sysId;
action.setRedirectURL(url);
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2023 10:52 PM
Hello @shadoworg
Go to Application Navigator >System Definition > UI Action.
Create New UI Action on the HR Task table.
You need to write script
action.setRedirectURL();
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2023 11:08 PM
Hello @Samaksh Wani
Can you help with full script. what needs to be added as i should be dynamic as per every HR Case's respective subject person.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2023 11:18 PM
Hello @shadoworg
add this script :-
var sysId = current.parent.subject_person;
var url = 'sn_hr_core_profile.do?sysid=' +sysId;
action.setRedirectURL(url);
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh