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
BedrockMission!

Learn More

View all

Sign in to view all badges

Lock & Unlock using Page api

Avatar

Avatar
Validate 1
Level 2
ganthimathir591
Level 2

Like

1 like

Total Posts

18 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
ganthimathir591
Level 2

Like

1 like

Total Posts

18 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
ganthimathir591
Level 2

08-04-2019

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
Gaurav-Behl
MVP

Likes

248 likes

Total Posts

1,147 posts

Correct Reply

283 solutions
Top badges earned
Establish
Give back 300
Give Back 50
Give Back 5
Give Back 3
View profile
Gaurav-Behl
MVP

08-04-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.

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
ganthimathir591
Level 2

Like

1 like

Total Posts

18 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
ganthimathir591
Level 2

Like

1 like

Total Posts

18 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
ganthimathir591
Level 2

11-04-2019

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