Leung

I use the SPD to create a custom workflow which will assign to-do task to users. The workflow is attached to a list library in a subsite and users only have view-only permission to the subsite (users are added to the subsite directly, not inside any sharepoint group). In order for users to complete the assigned task, I have broken the permission inheritance and change users to have contribute permission on the Task list.

The workflow would trigger as expected and a new task is created for the user. The user can see the "edit task" link in the task item but when clicked "edit task", an "access denied" error occurs.

Under further investigation, I notice access are granted for sharepoint group e.g. site visitors, site members on URL http://....../workflow/workflow_name/newtask.aspx , and only when I create the workflow under the site administrator account. If I create the workflow under an account which also has "Full Control" to the subsite, No access are granted to the workflow library at all.

What permission levels do I need to create workflows in designer really Does it make a difference if the workflow is on a top-root site or subsite Full control on the top-root site or subsite

Thanks in advance.



Re: SharePoint - Workflow Designer workflow + unable to edit task

Lucian Foppa

Hi Leung

I have the same problem

Greez

Luz





Re: SharePoint - Workflow Designer workflow + unable to edit task

Lucian Foppa

Hi Leung

Be sure that you inherit permission levels from the parent web site (to all subsites till the workflow-task list). Don't break the inherit. You can set read-rights . In the workflow-task list you must give approve-rights to the users where must edit the tasks. To do that you should break the inherit.

Microsoft wrote in a german msdn article that the user must have read-permission on the website where the workflow-task is hosted. But when i break the inherit under the top site and give limited-rights to the subsite and read-rights to the sub/sub-site (where the task list ist hosted) it doesn't work.

Has someone a better solution

Thanks!

Regards,

Luz





Re: SharePoint - Workflow Designer workflow + unable to edit task

Leung

I am really confused at how designer workflow requires the permission level given to users.

Why users must have read-right to the site that contains the workflow in order to edit the tasks assigned to him/her during the workflow I think limited access to the site with contribute permission to the task list would be enough.





Re: SharePoint - Workflow Designer workflow + unable to edit task

Leung

Also, one more thing. Users which are added to the site after the workflow is deployed cannot complete the task assigned by workflow even though the users are granted contribute permission on the whole subsite



Re: SharePoint - Workflow Designer workflow + unable to edit task

Andre Rentes

Hi Leung

Do you solved this problem!

I created my workflows, after I created a new group but it not has permission to start workflow or edit your tasks....

Is this a BUG Always I need to create my groups first for after to create my workflows!

Thanks!






Re: SharePoint - Workflow Designer workflow + unable to edit task

Andre Rentes

Hi Leung,

I found a solution but not is the better...

-> Open Sharepoint Designer,

-> right click on Workflow 1 (My workflow)

-> select Publish Selected Files...

-> choose File System and write a location ( c:\ ) for example

-> Click OK

Come back to the group permissions the Workflow 1 is there!

Att






Re: SharePoint - Workflow Designer workflow + unable to edit task

Leung

the way I do it now is to use sharepoint group. I add the users into the sharepoint group and then deploy the workflow. Later, when i need to add new user, i add the user to the group so that the user can complete the task list item.

I couldn't find an explanation to this behavior thou, maybe creating the workflow using visual studio would not have this problem.





Re: SharePoint - Workflow Designer workflow + unable to edit task

Vansen

Hi Everyone,

i recently came across the same Problem and think i found a solution for that. I don't know if it's applicable for your scenario but it maybe worth a try...

I opened up the Site using the Sharepoint Designer. Then i right-clicked the workflows folder and chose properties. In the Security Tab i clicked the link "Manage Permissions using the browser". Then a new Browser window opened and i was able to adjust the rights for the Workflow Folder. In my case the rights inheritance was broken. I restored it and it worked.

Maybe this "follow-up" after a coule of months maybe helpful for someone...





Re: SharePoint - Workflow Designer workflow + unable to edit task

kennyx

Hi, this solution works! But..i made a template of the site and everytime i use the template to create a new site you have to do this.... this is really not what we want because we have to create hundreds of sites based on this template.






Re: SharePoint - Workflow Designer workflow + unable to edit task

Koos Babie

This is the only workaround that worked for me. I don't know how publishing the workflow to disk resolves the problem, but it does resolve it. Truely amazing feature!