יום שלישי 21 אוגוסט 2012 08:45
We have a workflow that is attached to a content type.
In most libraries where this content type has been applied it works perfectly. However, in one library, the workflow brings back an error that the User Cannot be Found.
This is no matter which user is used to start the workflow (including the System Admin account).
The worfklow continues to work for the content types in other libraries so, clearly, the user can be found.
יום שלישי 21 אוגוסט 2012 09:57
It might be due to permissions, or you may check if this "user" has permission under the library.
If you could post a bit of logic of your workflow, there might be some more help.
יום שלישי 21 אוגוסט 2012 23:11
Permissions are no different from one library where it works to the other library where it doesn't.
Basically, I have been changing the content type of documents from the default document type to a custom type which has the workflow attached.
In all other libraries this has worked without any issue. We've even been able to move the documents to a new library and run the same process and the workflow worked with no errors.
This would indicate the problem is in the library not the workflow.
The only difference I can see is that, in the problem library, a custom date field had been added to the document content type. This date field wasn't present in the new content type we were converting them to.
However, if that was the problem, a more meaningful error would have helped.
יום רביעי 22 אוגוסט 2012 01:30
Had an additional thought. The library may have been created by a user who is no longer with the organisation. Would this cause the issue?
יום רביעי 22 אוגוסט 2012 04:41מנחה דיוןYep, if that user was deleted from the User Information List in SharePoint, that would cause this error. Open up the affected objects (Library, potentially Workflow too) and re-save them as a user that currently exists. It should resolve the error.
- סומן כתשובה על-ידי Qiao WeiMicrosoft Contingent Staff, Moderator יום רביעי 29 אוגוסט 2012 10:11
יום רביעי 29 אוגוסט 2012 23:24
Sorry for the late reply. Have finally got back to this issue and am wanting to test re-saving a library as a user that exists. However, I'm not sure how this would be done. Any information would be appreciated.