<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!--RSS generated by Windows SharePoint Services V3 RSS Generator on 5/27/2012 6:39:40 PM--><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>Marwan Tarek's Blog [MVP]: Posts</title>
    <link>http://www.sharepoint4arabs.com/marwantarek/Lists/Posts/AllPosts.aspx</link>
    <description>RSS feed for the Posts list.</description>
    <lastBuildDate>Sun, 27 May 2012 22:39:40 GMT</lastBuildDate>
    <generator>Windows SharePoint Services V3 RSS Generator</generator>
    <ttl>60</ttl>
    <image>
      <title>Marwan Tarek's Blog [MVP]: Posts</title>
      <url>/marwantarek/_layouts/images/homepage.gif</url>
      <link>http://www.sharepoint4arabs.com/marwantarek/Lists/Posts/AllPosts.aspx</link>
    </image>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MarwanTarek" /><feedburner:info uri="marwantarek" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:copyright>Marwan Tarek</media:copyright><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology</media:category><item>
      <title>How to retrieve Users Manager in SharePoint Designer Workflows</title>
      <link>http://feedproxy.google.com/~r/MarwanTarek/~3/svPQF0FP4iw/ViewPost.aspx</link>
      <description>&lt;div&gt;&lt;b&gt;Body:&lt;/b&gt; &lt;div class=ExternalClass82E0E810F53943108126EBC508405FCA&gt;&lt;p&gt;SharePoint Designer 2010 facilitates the creation of SharePoint workflows for Power Users using very intuitive user interface and a set of ready-made actions (which can be extended). &lt;p&gt;One of the useful actions available is “Lookup Manager of a user” &lt;p&gt;&lt;img alt=2012-01-17-RetrieveUsersManager-01.png src="https://www.nothingbutsharepoint.com/sites/eusp/PublishingImages/2012-01-17-RetrieveUsersManager-01.png"&gt; &lt;p&gt;Office.com explains the functionality of this activity as follows &lt;p&gt;“This action is initially displayed in workflow steps as &lt;strong&gt;Find Manager of &lt;u&gt;this user&lt;/u&gt; (output to &lt;u&gt;Variable: manager&lt;/u&gt;)&lt;/strong&gt;. Use this action to look up a user's manager. The output value is then stored in a variable. &lt;p&gt;&lt;em&gt;Following is an example of what the action might look like in a workflow step:&lt;/em&gt; &lt;p&gt;&lt;em&gt;Find Manager of &lt;u&gt;Workflow Context:Initiator&lt;/u&gt; (output to &lt;u&gt;Variable: manager&lt;/u&gt;)&amp;quot;&lt;/em&gt; &lt;p&gt;To use this action &lt;ol&gt; &lt;li&gt;Insert it into SharePoint designer from the “Action” menu  &lt;p&gt;&lt;img alt=2012-01-17-RetrieveUsersManager-02.png src="https://www.nothingbutsharepoint.com/sites/eusp/PublishingImages/2012-01-17-RetrieveUsersManager-02.png"&gt;&lt;/p&gt; &lt;li&gt;Click on “this user ” to select the target user who we need to find his/her manager  &lt;li&gt;From “Select Users” dialog you can choose a user by name or from a Group or the user who created the current item.  &lt;li&gt;After selecting the looked-for user, the action configuration is ready and you can use the manager name from the output variable “manager”&lt;/li&gt;&lt;/ol&gt; &lt;p&gt;Final configuration of the action &lt;p&gt;&lt;img alt=2012-01-17-RetrieveUsersManager-03.png src="https://www.nothingbutsharepoint.com/sites/eusp/PublishingImages/2012-01-17-RetrieveUsersManager-03.png"&gt; &lt;p&gt;Another option to retrieve the user’s manager is from the user profiles. &lt;p&gt;For example in the “Start Approval Process” action when you configure the participants, Select “Workflow Lookup for a User…” &lt;p&gt;&lt;img alt=2012-01-17-RetrieveUsersManager-04.png src="https://www.nothingbutsharepoint.com/sites/eusp/PublishingImages/2012-01-17-RetrieveUsersManager-04.png"&gt; &lt;p&gt;Then Select the following fields: &lt;p&gt;Data source: User Profiles&lt;br&gt;Field from source: Manager&lt;br&gt;Field: Account Name&lt;br&gt;Value Current Item:Created By &lt;p&gt;&lt;img alt=2012-01-17-RetrieveUsersManager-05.png src="https://www.nothingbutsharepoint.com/sites/eusp/PublishingImages/2012-01-17-RetrieveUsersManager-05.png"&gt; &lt;p&gt;By using this method you will be able to get the manager of the user who created the current item where the workflow will be applied and he will be assigned the approval task. &lt;p&gt; &lt;/p&gt; &lt;div style="padding-bottom:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;float:none;padding-top:0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2e870cd7-7cc7-46d9-a408-764acf5dbf66" class=wlWriterEditableSmartContent&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SharePoint+2010" rel=tag&gt;SharePoint 2010&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Workflows" rel=tag&gt;Workflows&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SharePoint+Designer" rel=tag&gt;SharePoint Designer&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Workflow+Actions" rel=tag&gt;Workflow Actions&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Category:&lt;/b&gt; SharePoint 2010;Workflows;SharePoint Designer;Workflow Actions&lt;/div&gt;
&lt;div&gt;&lt;b&gt;Published:&lt;/b&gt; 4/22/2012 3:32 PM&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/MarwanTarek/~4/svPQF0FP4iw" height="1" width="1"/&gt;</description>
      
      <category>SharePoint 2010;Workflows;SharePoint Designer;Workflow Actions</category>
      <pubDate>Sun, 22 Apr 2012 19:32:25 GMT</pubDate>
      <guid isPermaLink="false">http://www.sharepoint4arabs.com/marwantarek/Lists/Posts/ViewPost.aspx?ID=96</guid>
    <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marwan Tarek</dc:creator><feedburner:origLink>http://www.sharepoint4arabs.com/marwantarek/Lists/Posts/ViewPost.aspx?ID=96</feedburner:origLink></item>
  <language>en-us</language><copyright>Marwan Tarek</copyright><media:credit role="author">Marwan Tarek</media:credit><media:rating>nonadult</media:rating></channel>
</rss>

