I have created a workflow step to custom lock a page. I am using below step to lock a page but It always locks with service user - I am able to get the current logged in user but unable to impersonate the current logged in user by service user. Is there any way I can lock a payload by currently logged in user?
1) using workflow session --- It locks by workflow-service-user
2) user impersonation to resource resolver - Unable to impersonate user (error)
3) using dedicated sub-service to get resource resolver -- It locks the payload by dedicated service user
Please let me know is there a way to lock a page by logged in user.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////-- locks by workflow-service-user