Any Clarity job with error in the BG logs:
ERROR 2019-04-04 03:00:47,359 [Dispatch Synchronize portfolio investments : [email protected] (tenant=clarity)] job.PFMSyncManager ([email protected]:session:Synchronize portfolio investments)
com.niku.union.odf.exception.ODFValidationException: ODF-0105: Not authorized to delete one or more selected pfm_investment instances.
The error can occur with any job and any object.
ODF-0105: Not authorized to delete one or more selected xxxxxxx instances.
The user who scheduled the job is not active.
Check in Administration > Resources or run the following query:
select id, user_name, user_status_id, first_name, last_name, email_address, last_updated_date, last_updated_by, last_logged_in_date
order by last_updated_date desc
The resource status ids are:
200 - Active
201 - Inactive
202 - Lock
Check the account status of the user who scheduled the job.
Delete the job schedule if the user is no longer active or set the user to active if they have been locked/inactive.
If the job has been scheduled within a process, proceed to delete the step where the job is called.
Recreate the step with the job being called.