Hi
@Sanaa Fallah,
Item that you're trying to update with new status is not locked by your process.
That could happen in many, many ways. For example:
- Item was already updated
- Item ID was overwritten with some different item ID
- Previous item has been marked as exception, and the process received a new item id, but it has not been locked. You cannot update a new item, because it has not been locked at the start of the process.
- The item has been deferred and that action unlocks item
You need to invoke the business object Work Queue's action Get Next Item in order to lock the current item. Only locked items can be marked as Exception.
and before marking as exception, you just need to update the status and while marking exception there is one input parameter called keep locked need to set false
Hope it helps you out to understand the error and you can resolve it .
------------------------------
Shikhar Mishra
RPA Lead
Infosys Pvt Ltd
Pune,India
------------------------------
Shikhar Mishra
RPA Lead
Infosys