Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

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.