I am converting sharepoint 2010 workflow to 2013. Part of the one 2010 workflow use find manager information of the user who create an item. But in 2013 its not exists. So I managed to find an article @ stackexchange . with an answer here
But the issue is , the link which is attached to post is not active
In the post says : http://your-sharepoint-site/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v=[%Workflow Context:Initiator%]
If i pass the parameter to [%Workflow Context:Initiator%] (), i get this error message.
I have tried my domain username/ email address /i:firstname.lastname@example.org formats
This XML file does not appear to have any style information associated with it. The document tree is shown below. <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <m:code>-1, Microsoft.SharePoint.Client.InvalidClientQueryException</m:code> <m:message xml:lang="en-US">The query string "accountName" is missing or invalid.</m:message> </m:error>
What am i missing ?
using Sharepoint online/ Foundation
Tx for advice