This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting error "This employee is not authorized to make approvals"in "MakeDecision" method.

Hi Markus, 

Referring to your reply on Ruchita Mantri's post for the same error  on this link (https://www.quest.com/community/products/one-identity/f/identity-manager/27133/getting-error-this-employee-is-not-authorized-to-make-approvals-in-makedecision-method/66233#66233)

 My work flow is a bit different and has another level after EX approval step.

 

 

The values in my process parameters for EX process-

 

I have followed all steps as per the documentation but not sure what is missing.

Please suggest.

  • First, it would help if you post the error message. Secondly, is your JobService connected to the Database directly, or are you using an Application Server?
  • Hi , Here is the error message i can see in logs -

    <e>2018-05-14 11:10:19 +00:00 - \LOCALJOBSERVER1QUEUE - VI.JobService.JobComponents.HandleObjectComponent - fa706018-6ff4-409a-9c41-77df41587f6c: Errors occurred
    Error saving Salesforce Application-Admin - Reportee, Nineth - 5/14/2*****18 11:*****5:47 AM: [81*****3*****6] Error during execution of 'OnSaving' in logic module 'QER.Customizer.PersonWantsOrg'.
    [2133172] This employee is not authorized to make approvals (possibly wait for the DBQueue processor evaluation)
    Method MakeDecision was called for 1 object(s) of type PersonWantsOrg.


    My jobservice is directly connected to database.
  • Sounds like the approval workflow hasn't moved to your EX step yet. Anything suspicious in the DB queue or the DialogJournal?
  • Hi Markus,
    I have crosschecked and found that-
    1) Approval workflow has moved to EX step and there the process executes which calls the MakeDecision method at last step.

    2) i couldn't locate the entry for this error in dialog journal.

     

    Please suggest.

  • Mmhh. Can you post the settings of the PWOHelperPWO entry for the EX step where the approval workflow is stuck currently?
  •  

     

    Hi Markus,

    I initiated a fresh request and here is the detailed information for this whole case along with snapshots.

     

    Please let me know if you need any other details.

     

     

    details of workflow

     

    process details

     

    process parameters

    error log

     

     

    Two records in PWOHELPERPWO

     

    record in personwantsorg

     

    I dont see any entry for this activity in Dialogjournal.

     

     

    Please suggest

  • Just a wild guess here. Try to set the parameters of your approval step similar to the screenshot.

    If that doesn't work, please contact support.