New Pioneer Onboarding task not visible for some users. Widget error.

marketa_w
Tera Expert

Hi,

when we delegate a Submit Catalog Item HR task type for New Pioneer Onboarding service, the delegate is not able to see the task details on ESC, It is visible in "My tasks" bud does not show the form - we get these errors:

 

Error

Server JavaScript error Cannot read property "id" from undefined 

 

Error

Line number 72 (sp_widget.2e840e4f534032003066a5f4a11c0868.script) 

 

Error

Script source code logged to browser console 

 

Error

Failing widget: 'HRJ Task Submit Catalog Item' (2e840e4f534032003066a5f4a11c0868) called from: 'HRM Task Activity' (be9a53ee738023002ceb31d7caf6a769) called from: 'To-dos task Line Item' (a4716c8f53d3130030f3ddeeff7b1288) 

 

This seems to happen only for one task type = Submit Catalog Item , others that I tried to reassign can be viewed without issues.

 

Does anybody know what can cause this? I checked the OOTB script in 'HRJ Task Submit Catalog Item' on the line 72 but did not get any cause that would explain why some users do not see it.

 

the line starts:

p.requested_for_id = data.task.subject_person.id;

        p.requested_for_display = data.task.subject_person.name;

        p.parentTable = 'sn_hr_core_task';

        p.parentSysId = data.sys_id;

        return $sp.getWidget("widget-sc-cat-item-v2", p);

 

Thanks

BR

Marketa

0 REPLIES 0