Failing widget: 'HRJ Task Submit Catalog Item'

amielalcala
Kilo Sage

Hi,

 

I am getting this error with SNC External role access.

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

 

I am not getting this error for any roles except on SNC External which is odd:

amielalcala_0-1711946114917.png

 

This is the code with error:

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);

Any idea how to fix this error? Thanks!

 

1 ACCEPTED SOLUTION

Hi @Harish KM, thanks for the insight! I tried creating a read ACL for the sn_hr_le_case  and sn_hr_core_super_tax, it finally removed the error messages on portal.

View solution in original post

5 REPLIES 5

Harish KM
Kilo Patron
Kilo Patron

Hi @amielalcala Ensure the widget has a role given snc_external as higlighted in screenshot below. There may be limitation for snc_external users in the Portal form and widgets, you need to ensure the external users have access to all portal form, widgets and read access to data

HarishKM_0-1711947055588.png

 

Regards
Harish

Hi @Harish KM,

Appreciate the response. Unfortunately, I'm still getting the error even after I add SNC External Role on the widget:

amielalcala_0-1711947293702.png

Hi @amielalcala as i said have you also checked that snc_external roles have read access to your to do task? you need to verify that external users have read access for tables to do list which your providing them,

you can check in sys_restricted_caller_access table to verify that any permission is required to allow access for this widget

Regards
Harish

Hi @Harish KM, thanks for the insight! I tried creating a read ACL for the sn_hr_le_case  and sn_hr_core_super_tax, it finally removed the error messages on portal.