Getting error Document Template

abirakundu23
Mega Sage

Hi All,

When some users are going to create HTML Document template, they are facing issue & getting below error. However, they have sn_hr.admin role & we have checked the message comming from backend OOB BR & script include.

BR: Validate template variables

SI: HtmlTemplateUtils, HtmlTemplateUtilsSNC

Below screenshot as reference:

absnow1_0-1697634250704.png

 

absnow1_1-1697200100290.png

Please help me on it. 

11 REPLIES 11

Hi absnow1,

  • Have you checked if there are no added custom ACL's on the HR Case table?
  • It seems the Business rule is fine with subject_person, but in the error points out subject_person_hr_profile is not accessible by the logged in user. Can the users see the HR Profiles?
  • If you create a new user add them to that group, does the issue persist for the new user as well? You can use security debugger, just make sure the impersonation check is (temporarily) disabled on the non-production environment where you test it.

 

You need the 'sn_hr_core.profile_reader' to access HR Profile data. If you add that directly to the user or group, can you check if that solves the issue?

Vanderlei
Mega Sage

Hi @abirakundu23 , those users can read this fields?