Zum Hauptinhalt gehen

Workflow unlock

Kommentare

1 Kommentar

  • Zendesk API User
    Author: hoebbel - 8/17/2022 10:10

    Dear Geetha,

    I'm sorry, but I'm not sure I understand what the problem is here.
    In the code I notice that you don't save the node after removing the write protection, so something like:

     

    page.setWriteLock(false); page.setLock(true); //you cannot lock a page with active write lock page.save("write lock removed"); page.setLock(false);

     

    If you don't save the page, the writeLock will only be inactive within the current session. Maybe this is the cause of the problem you have?

    And to query 2 - afaik default messages cannot be overwritten.

    Best regards
    Holger

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.