• Pranav Kulkarni
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hello All,

I'm getting a System.UnexpectedException: null error while trying to unlock or lock the records from a Queueable Apex job.
I would need someone's advise to resolve this error as soon as possible.

My scenario is as below:

I want to update a set of opportunities out of which a few of them are locked by the approval process.
So I want to unlock these opportunities, update a particular field in the opportunity and lock the record again via apex.
I have used the standard approval process.

Please advise.
 
Hello All,

I'm getting a System.UnexpectedException: null error while trying to unlock or lock the records from a Queueable Apex job.
I would need someone's advise to resolve this error as soon as possible.

My scenario is as below:

I want to update a set of opportunities out of which a few of them are locked by the approval process.
So I want to unlock these opportunities, update a particular field in the opportunity and lock the record again via apex.
I have used the standard approval process.

Please advise.