cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: Internal: The specified item was not locked by this business object

jgregor4
Level 6
My process has ended and this error was thrown.  The resource that was running did lock the item in the queue so I am not really sure what it is in relation to or what a possible fix would be. Does anyone know why this could have happened? The step in the process was updating the Status in the queue.
3 REPLIES 3

Denis__Dennehy
Level 15
If we are talking work queues it sounds as though there is a problem with your queue logic. Work queues item handling should be done at the process level as per training so I am not sure why your error is coming from an object? Are you using a Process Template as the basis of your process and your queue handling logic - that should be seen as mandatory.  There is also the Lifecycle Orientation training solution that is an example of best practice queue handling.    

John__Carter
Staff
Staff
That error means your queue item handling is flawed. The process (or object) that locks the item via Get Next Item is the only one who can update the item (eg Set Status, Mark Complete, mark Exception etc), it can't be done by another object - if you try you get that error. I think the only edits you can make to an item without owning the lock are Tag and Untag.

jgregor4
Level 6
This is in the Process Layer, the ""Object"" that it seems to be referring to is the Work Queues internal object