User does not have sufficient privileges because they are not in any role

Users are getting error while submitting the questionnaire in function 'queryruleexec': with the name of user who has created the function and error:- “ The user [xyz@brookfield.com] does not have sufficient privileges to perform the requested action because they are not in any role.”

What is the exact way to find out the location where function creator name exist and we are facing this error only when we disabled function creator's account.

BELOW is the exact error we are getting :-

ERROR ERROR:An error occurred while evaluating expression: =localize("en_US",tostring(rule!RT_createEmailSubjectNewTask(pv!GLOB_Property,pv!GLOB_Region,pv!GLOB_REIT,pv!RT_Template, pv!RT_AnswerHeader))) (Expression evaluation error in rule 'rt_getperiodbyid' (called by rules 'rt_createsurveydisplayname' > 'rt_createemailsubjectnewtask') at function 'queryruleexec': Error evaluating function 'queryruleexec' : The user [XYZ@brookfield.com] does not have ...

OriginalPostID-202068

OriginalPostID-202068

  Discussion posts and replies are publicly visible

Parents
  • Thanks everyone for your response.
    From your replies, i got a clue that this issue might be coming because of the option selected in the process - Run as whoever designed this process model.
    As the person who have created the process is already left the organisation and his account is disabled and thats why we are getting above error.
    Please confirm if i am wrong.
Reply
  • Thanks everyone for your response.
    From your replies, i got a clue that this issue might be coming because of the option selected in the process - Run as whoever designed this process model.
    As the person who have created the process is already left the organisation and his account is disabled and thats why we are getting above error.
    Please confirm if i am wrong.
Children
No Data