Hello
I have a problem.
There are two tasks
Task 1. Person1 (Collobrator on Document) modifies the document and sends the registration.
Task 2. Person2 when the task comes to him (Collobrator on Document) fill document properties. On transition, the script is executed in which the document is renamed and all users became are Consumer.
And the prooblem: If Person1 open the doc dokument for editing online(sharepoint protocol), On second task when script try renamind the document rising the exception Access Denid. But if open for editing offline or I remove setPermission to Consumer No exception and everething be fine.
How I can to remove this problem