vendredi 2 janvier 2015

LookupSPListItemId and Person field in SharePoint 2013 workflow



I'm trying to use the LookupSPListItemId activity in a SharePoint 2013 workflow in Visual Studio. The condition I'm trying to set is when a person field equals a specific person.


The problem is I'm not sure what the format of the person parameter should be (which needs to be a string according to Visual Studio)


I have tried the user's ID (i.e. 2 as a string). I have tried the user's login ID (i.e. domain\username) I have tried the user's name (i.e. Joe Bloggs) I have tried the user's claims login


When debugging with Visual Studio I can see in the workflow debugger output window an error occurs, presumably because I'm not passing in the correct parameter in the correct format.








0 commentaires:

Enregistrer un commentaire