Lock & Unlock using Page api | Community
Skip to main content
Level 2
April 8, 2019
Solved

Lock & Unlock using Page api

  • April 8, 2019
  • 2 replies
  • 2357 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

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.

2 replies

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
April 8, 2019

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.

vijays80591732
Level 3
July 6, 2020
Hi Gaurav - can you share the above 2 links again. it's redirected to https://community.adobe.com/ even if signed in..
Level 2
April 11, 2019

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