I can't give permissions to users on the library level in advance because of customer requirements. So they want to start the collect feedback workflow on a document, assign it to a user, that user should then get access permissions to that specific document. And when the task is finished the permission should be taken away.
Been trying to copy and make changes to the collect feedback workflow to get the reviewers from the form and trigger a 2013 workflow which makes a call to a server with the item id and reviewers but when I add an action after the collect feedback action, it doesn't run until the task is finished. Which is too late.
Any ideas? is there a way to get this done?