How to copy short description using create hr case ui action.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 08:34 AM
Hi all,
How to copy the short description from intersection to hr new case in the hr agent workspace using create hr case ui action.
I am not able to modify the g_aw script.
Can you guide me how to modify the script
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 08:50 AM
Script :if (g_form.getValue('state') != 'closed_complete' && g_form.getValue('state') != 'closed_abandoned')
g_form.addInfoMessage('Please close the interaction before creating HR Case');
return false;
}
var USER = g_form.getValue('opened_for');
var NEW_RECORD = '-1';
var TABLE_HR_CASE = 'sn_hr_core_case';
var PARENT_TABLE = g_form.getTableName();
var PARENT_SYS_ID = g_form.getUniqueValue();
g_aw.openRecord(TABLE_HR_CASE, NEW_RECORD, {
userId: USER,
subjectPersonIdOnCase: USER,
parentTable: PARENT_TABLE,
parentSysId: PARENT_SYS_ID,
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 10:26 AM
I have a same question, how did you achieve this?