I'd like to know if anyone knows the best way to start a workflow on an item when the current user is only having read-only-permission (no edit-permission). It seems to me, that I need edit-permission to start a workflow. In this case it would not be neccessary as we do only readings on the item and create new entry in a different list.
Solved! Go to Solution.
SharePoint doesn't allow the excecution of a workflow for an item, for which a user only has read permission. Nintex cannot override this design concept.
We faced the same problem once. Basically we allowed people to edit the item but set up an event handler programmatically, that prevented the item from being modified by the user under certain circumstances.
The way you would do that would be to use an Action set and in the common settings have it run as the owner who published the workflow. This should work, but again may not if you are requiring the user to do something that requires contribute rights.
i tried to do as you suggested. I have an Action Set, ran as WF-Owner, that contains all the Workflow-Actions. There is no change done to the Item itself, the WF just creates an Entry in another List. But even if i deactivate the Checkbox for creating Status-Columns, i don´t get the possibility to start the Workflow if the User has only read-permissions on the Item. I don´t even get the Workflow-Button in the Flyout-Menu of the Document.
Any other hints?
As Enrico said, you cannot start the workflow with read permissions. If you want to take a longer route, then create a similar list for the users where they have edit permissions. This list could just have the name of item from main list. Reference the item and let them start the workflow here. This, inturn should start the workflow on the main list and carry out the actions.
Kapil is correct. Users must have at minimal Edit or Contribute permissions to start a workflow on at item. Anything below that will get an access denied or no link to start the workflow with.
What determines if a workflow should be started or when it should be run as far as your business process is concerned associated with a specific item?
As others have indicated this is a SharePoint issue. There are a couple approaches to resolving this. The simplest, which we use regularly, is to have the users start a Site Workflow - which they can with read permissions on the site. This site workflow then runs the list/library workflow with elevated permissions (as a system service account). Obviously there are a couple things that are needed:
Hope this helps.
Thanks for this tip Gerard. It seems to work for me but I am wondering how I can start a site workflow with URL withtout using TemplateID (it's changing every time we publish the workflow).
Could you explain here how your URL is formatted and how do you call the workflow ?
suppose you have a read-only list RO and a FAKE list with create permission :
Another way to do this :