- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2020 09:26 PM
I can't find where HRJ Task Take Survey Widget is used. Can we make a survey as to-do task in Employee Service Center portal?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-02-2020 01:06 AM
Hi Koji,
In short, you can by creating an Employee form. By creating a new HR Task of HR Task type "Collect Employee input" you can select the Employee form you want:
That will then be presented to the assigned to in the HRM To-do widget.
Technical longer explanation:
It is loaded in the to-do app via:
- HRM To-do contains the "To-dos task Line Item"-widget
- It will get the tasks that are to-do and their mapping to widget via the "todoPageUtils"-script include.
- The "todoPageUtils"-script include contains the function "_getWidgetMappings" which gets the mapping from the "sn_hr_sp_todos_widget_mapping"-table.
- In that table we find entries for HR Task:
- "HRM Task Activity"-widget calls "hr_TaskTicket"-script include. We are looking for the collect_information as that is the one containing a survey:
if (gr.hr_task_type == 'collect_Information'){
task.employee_form = {};
task.employee_form.id = gr.getValue('employee_form');
task.employee_form.form_definition = gr.getElement('employee_form.form_definition');
task.employee_form.survey_instance = gr.getValue('survey_instance');
task.employee_form.table_Name = gr.getElement('employee_form.table')+'';
task.employee_form.condition = gr.getElement('employee_form.condition')+'';
}
- The "HRM Task Activity"-widget in line 21 gets the widget for the specific task:
data.widget = $sp.getWidget(getTaskWidgetId('hrj-task-'), taskOptions);
if(!data.widget.sys_id)
data.widget = $sp.getWidget(getTaskWidgetId('hr-task-'), taskOptions);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 07:31 AM
I have HR Task type = "Collect employee Input", Employee form to get input from employee. HR task is created , assigned to correctly. But when user try to access HR task under "My To-Dos", getting this error. Can someone please help.
*** User has sn_hr_core.case_reader role & "Write/read access to HR Task- custom role"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 07:54 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 07:57 AM
The reason I ask is there was an issue with the Widget that was solved with the Patch 5 fixes for HRSD.
Regards,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 08:03 AM
We are on Orlando Patch 4a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2020 08:09 AM
I don't see any schedule for Patch 5 fixes for our instance yet. We just get on to patch 4a. What should I do? Hi ticket?