Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

Lock & Unlock using Page api

Avatar

Level 2

I am trying to lock and unlock a page in workflow using page.lock() & page.unlock(); I could lock the page in first workflow, but in the next workflow ,while unlocking the same page it throws exception saying, "Unable to unlock Page". page.canUnlock() returns true. Did anyone use this successfully?

1 Accepted Solution

Avatar

Correct answer by
Level 10
3 Replies

Avatar

Correct answer by
Level 10

check if this helps -

AEM 6.3 Custom Lock - Lock payload by logged in user

Re: AEM 6.2 Lock Payload workflow step behaving as NoOp

**Only lock acquiring user or admin can unlock the page.

Avatar

Level 4
Hi Gaurav - can you share the above 2 links again. it's redirected to https://community.adobe.com/ even if signed in..

Avatar

Level 2

Thank you Gaurav for sharing these links. It resolved my issue.