.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How to get User group in SharePoint Designer 2010 within workflow?

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :SharePoint
Hi, How to get user group in sharepoint designer within workflow? Basically I have to compair that current user is belongs to particular group or not.  How can I get check user group in workflow's if condition? G. Goyal

View Complete Post

More Related Resource Links

MOSS 2007 - SharePoint Designer Workflow failing when using group vs individual user

I am creating a simple workflow in SharePoint designer that will email a selected user when a list is modified.  I am applying the condition "if modified by" in Designer.  This condition works fine and the email is sent when I select a specific user myDomain\username.  It does not work when I attempt to associate a SharePoint group with the "if modified by" filter. In my example the list has only one SharePoint group associated with it, this is the only group with permissions for the list.  The group contains multiple users. The workflow is successful with the following scenario: if modified by myDomain\user1 or if modified by myDomain\user2 The workflow fails with the follwoing scenario: if modified by mySharePointGroupName  (which includes myDomain\user1 and myDomain\user2) This would be an ungodly if statement with a large membership SharePoint group.  This would also be a nightmare as people leave the organization and their account credentials are left in the large if statement in the workflow.  Looking for the modified condition when associated with a group seems like the logical way of doing this. I also tried "myDomain\domain users" which accounts for all user in my domain, this failed as well. Any advice would be greatly appreciated.

How to use display Text in Hyperlink For SharePoint 2010 Designer Workflow


In SharePoint 2007 Designer, I have used the Hyperlink column to store the link "http://www.sharepoint.com/Default.aspx, Details". The details text will be shown in the Hyperlink column. Everything works fine in sharepoint 2007 Designer workflow.

In SharePoint Designer 2010 Workflow, I used the same method but the hyperlink column is displaying the full text "http://www.sharepoint.com/Default.aspx, Details" instead of only Details


Video: Microsoft Visio 2010 and Microsoft SharePoint Designer 2010 Workflow

Learn the specific roles Visio 2010 and SharePoint Designer 2010 play in the development process and how these tools can be used in concert to create a workflow. (Length: 13:22)

How to start a workflow programmatically that was created in Sharepoint designer 2010?

Trying to start a workflow from code.  The workflow itself has been created in SPD 2010, which from what I understand, means that there is no assembly until the first time it's ran.  However, when I try to find the association record, that doesnt exist.  Is this becuase the 'code' hasnt been compiled yet?  If so, how can I have sharepoint start the just-in-time compiler for a declarative based workflow, so that can kick it off with in code? tia Rocky SandersRocky Sanders

Designing a Workflow in Sharepoint Designer 2010 Help

I Have no experience using Sharepoint Designer and I am trying to design a test workflow to see how usefull workflows will be at our company.  I have specific steps that I would like the workflow to follow but I do not know how I would go about implementing these steps in the workflow.  I have done a lot of research online and have had no luck finding anyhing sililar to what I am trying to do which makes me wonder if Sharepoint Designer is capable of doing these things. Here are the steps I would like my workflow to take 1.  Propt the user to fill out a form 2.  Send this form to a specific user 3.  Specific user then selects a person from a different department to send this form to 4.  The selected user then sends multiple documents to the person who started the workflow I know there is a collect data action but once the data is collected i do not see any action to send the collected data to a user.  Also I know there is a send document to repository action which would be usefull if there was some action to prompt the user to fill out the document at the start.  Like I have said before my Sharepoint designer knowledge extends about as far as what I have been able to teach myself so I would greatly appreciate any help I can get with this.

Copy List not Working in Sharepoint 2010 Designer Workflow

I am having two custom lists,  First_List(Title, ID, Status) and Second_List(Title, ID) here Status is a choice menu with values Selected and Rejected I am copying data from First_List to Second_List using WorkFlow with SharePoint Designer, When I am inserting data in first list. For that I have written in workflow action if CurrentIten. Status equals Selected  Copy item in current item to Second List now the Problem is that only the Title field is getting copied into the Second List but I am unable to copy the ID field. I am unable to understand whats the problem    

SharePoint 2010 email enabled list with workflow has incorrect User ID when items are emailed to the

I have set up an approval workflow for a document library that has email enabled. Emails come into the document library fine, however, if an item is emailed to the library the workflow kicks off with the initiator as "System Account" rather than the person who submitted the email. This makes the error of "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient." come up. If someone submits a document directly to the library (by logging into sharepoint and submitting) everything works fine. The person submitting by email is a valid sharepoint user and the profile shows the correct email address. The Created by and Modified by fields show the correct person (rather than System Account), it's only the workflow User ID that shows incorrectly if document is emailed to library. Any help or ideas would be appreciated. Thanks

Sharepoint 2010 WorkFlow Task AssignedTo Windows Group doesnt send email notification

Hi, Which configuration would prevent sharepoint to send a notification when a workFlow task is assigned to a Windows Group with an email ? The same task with a single User send a notification. Thanks, Patrice      

Making your own cusctom workflow developed in visual studio 2010 available in sharepoint designer 20

Hi, i have a custom workflow(sequential),developed using visual studio 2010. Now, i want to make it available to sharepoiint designer 2010,as an action.Has anyone done something like dis before? I have tried creating an actions file and changes in web. config ,but when i open my designer it says it cannot find the assembly(my custom worklow). What does it mean,i have tried this method by watching solutions on internet. If anyone has done this task, kindly guide me thanks a lot :)

How to get current user in an action of a workflow (without .NET coding) in SharePoint Designer


Does somebody know how to get current user (logon user) in an action of a workflow definition from the Sharepoint Designer 2007. I know how to do it by using .NET coding, but it requires to upload a dll to the bin directory of the application which is not an option due to my company Sharepoint policies.

Sharepoint Server 2007. Sharepoint Designer workflow not starting for one user only.


We have created a custom workflow in SPD that is attached to a document library within a MOSS 2007 teamsite.

The workflow is set to trigger when a new item is created in the document library.

Previously, the workflow has worked fine for all users but recently has stopped working for one user only.

For the problem user, what we are seeing is that when a new item is created in the document library, the attached workflow never starts.  There is no error, the workflow just does not get triggered.  However, if the problem user goes to an item in the document library and clicks on the workflow she can manually start it and it works fine with no error.

This user has the same permissions on the site as others who do not have any problem.

In the course of investigating this problem, we have temporarily increased the problem users permissions on the document library to full control (was contribute before) but this has had no effect on the problem.  Authentication is being done via Active Directory.  We have tried removing the user from the site and re-instating her but again this has no impact.

Does anyone have any idea how we could fix this problem or further debug it?

2010 - SharePoint Designer Workflow


I created a SPD workflow on a task list in SharePoint Server 2010.

The workflow generates an e-mail to the "Assigned To" user.  When configuring the To in the e-mail, I simply references the "Assigned To" value in the list.  Is that good enough?  Will it find their e-mail?

Also, what if the Assigned To allows for multiple values?




Sharepoint designer 2010 workflow




I want to add two columns from an existing form library into "Collect data from user" action rather than adding a new column so that when the approver opens the "Collect data from user" content type, he should be able to see those two column values from existing form library in to that "Collect data from user" content type only. Is that possible?


Thank you.

MOSS 2007 to SharePoint 2010 Upgrade Fails - Exception: The user or group 'wsaarole:wsaa administra


Ok the top part of the error I have tracked down to some entries in the SharePoint_Config database (Classes, Objects, TimerRunningJobs) and since I have a VM I am going to study them and try deleting them probably, if it dies I will delete this VM and roll up another VM in my case its a timer job that I am guessing the farm can live without.

The other error further down is more of a concern to me which is the one I listed above. The Group exists and it is in the farm and appears to be healthy no errors in preugrade check or the like or in the Farm. When upgrading the show stopper for me is that the content databases will not upgrade (assuming they upgrade FBA I can configure) the chicken and egg issue for me is this is an FBA farm, so is it the case that b/c FBA is missing not configured yet on the other side of the upgrade in 2010 that these content dbs connected to FBA (by FBA users in the content dbs) will upgrade affter FBA is configured ( I haven't tried this yet sorting my error log one error at a time). The Particular content dbs with an issue are shared services and the main site collection db which includes my sites site collections also.

[psconfigui] [SPConfigurationDatabaseSequence2] [INFO] [9/30/2010 3:44:42 PM]: SPConfigurationDatabase Name=SharePoint_Config
[psconfigui] [SPConfigurationDatabaseSequence2] [WARNING] [9/

Sharepoint Designer 2010 - Collect Data from User Issue


I am currently running Sharepoint 2010 Foundation and Sharepoint Designer 2010

I am creating a custom workflow where I am asking 1 user for input using collect data from user.  Following this I am asking a different user the same question using another collect data from user.

Since these creates 2 tasks (1 for each user) I wanted to store the information in the same column, but I seem unable to do so.  Each collect data from user seems to create it's own column even if you name both the same (you end up with 2 columns with the same name but different column id's).

Is there a way to point them both to the same column?  Is there a better way to do this?


More the less I am asking the both persons a yes/no question.  in my workflow if they both say yes I send an e-mail but wanted to have only 1 column in the vew to see the results on the tasks.




SharePoint Designer 2010 Workflow Email alert customization


Is this is possible to make html format Email alerts in SharePoint designer 2010??

Thank you

A. Shilambuselvan

sharepoint designer 2010 convert workflow to reuseable workflow


I have a SPD Workflow that I now want to import into Visual Studio 2010.  I believe that the workflow has to be reuseable before I can do this is that correct?

Has anyone ever converted a SPD workflow into a VS 2010 workflow?


Leland Usher SharePoint Developer/Administrator
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend