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

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

Sharepoint 2010 Workflow issue

Posted By:      Posted Date: September 17, 2010    Points: 0   Category :SharePoint
I am using SharePoint Designer 2010 to implement a workflow approval process on InfoPath forms. I added the workflow on an InfoPath and although it shows me that the workflow is completed, it doesn't do what it is supposed to do. It is supposed to send an email to the Manager once the form is submitted and fulfills certain critieria. It doesn't send that email. The workflow is fairly simple: If Form:Department equals (ignoring case) XYZ Email xyz   The type of workflow is "List Workflow". I am not sure where I am going wrong. It looks a simple thing to solve but my mind seems blocked. Any clues??

View Complete Post

More Related Resource Links

SharePoint 2010 Workflow issue



We have recently started our company's SharePoint site and it works great!

Recently we created a Workflow using SPD 2010 for a particular List under a subsite. We published the workflow to the site and wanted everyone to manually start the workflow and the List Item creation. The manual start button is on an ASPX page. Now users can not access the page.

We checked the access level for the site, list and all users now have full access to the list, workflow...really do not understand what could be the issue and how to solve this?

Any help will be really appreciated.

Sharepoint 2010 Workflow Email Issue


So I wanted to create a workflow for a list I have already created in Sharepoint.  The list is an "Issue Tracking" list.  When I add an item to the list, and then modify that item, I am notified by email that changes have been made to this item.  But when my workflow includes the "Send an Email" action in Sharepoint Designer, the workflow results include the message: The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly. 


I first thought it was the workflow and how it was looking up the email address to send to from variables in the workflow.  But then I changed it all the way down to simply being the single step: "Send an Email" and the email address is hard coded in the properties with my email address.  Since I get the notifications that changes have been made to the items in the list, I wanted to beleive that it was something else.  But I checked into the log file that was suggested on another thread here, and found an error when I searched the log for "SMTP:"


#160002: Cannot connect to SMTP host 'mail.xxxxxxxxx.com'.    a84dc162-7c30-43a1-b58e-ae5bc81a6a95


I x'd out my full domain, but this is the error in the log. 

Workflow Essentials: Collaborative Workflow Improvements in SharePoint 2010


In this article, the author covers the new features in SharePoint 2010 geared for workflow developers and then walks the reader through a couple of new user scenarios.

Paul Andrew

MSDN Magazine November 2009

Outlook 2010 / Sharepoint authenthication issue


Hi all,

I'm using Outlook 2010 on Windows 7 64bit.

My company uses a hosted Sharepoint server (I guess it's Sharepoint 2010). There's a team calendar, which I would like to connect to my Outlook 2010. Linking it to Outlook works fine until it tries to update the calendar with the Sharepoint server. I shows the following error:

Error (0x80070005) when running the task "SharePoint": "You are not authorized to view the SharePoint list (team calendar). Contact the administrator of SharePoint site. HTTP 401."

So this tells me, I'm not authorized to connect - which is quite clear because Outlook never asked my for any username or password.

Funny thing is when I try to add an internet calendar (Right mouse click on calendars, Add calendar, Internet calendar) and use the url of the sharepoint list, it asks me for username and password, but then fails to add the calendar, as it isn't a webcal (which is OK).

BUT: As Outlook at this moment has the username and password, the exisiting Sharepoint calendar synchronizes correctly. This works until Outlook is being restarted.

Does anyone have an idea why I'm not asked for any authentication? Maybe there's some setting I haven't found yet? It works with trying to add the webcal any time when I start Outlook, but t

SharePoint 2010 Long Starting if start workflow programatically


In SharePoint 2010, I'm starting workflow #2 programatically from my workflow #1. See code below:

					SPList currentList = web.Lists[new Guid(ListId)];
					SPListItem currentListItem = currentList.GetItemById(ListItem);

					//resolve any lookup parameters
					string workflowId = base.ProcessStringField(WorkflowIdentifier);

					//find workflow association by name
					SPWorkflowAssociation workflowAssoc = currentList.WorkflowAssociations.GetAssociationByName(workflowId, Thread.CurrentThread.CurrentCulture);

					if (workflowAssoc != null)
						//start the workflow
						SPWorkflow workflow = site.WorkflowManager.StartWorkflow(currentListItem, workflowAssoc, workflowAssoc.AssociationData, SPWorkflowRunOptions.Synchronous);

And workflow #2  will hang with Starting status (1-10 minutes), Then the workflow #2 status would be modified  to Completed.

I couldn't find how to start the workflow # 2 immediately and complete immediately without several minutes delay

Sharepoint 2010 power tools visual sandboxed web part issue!!


Hi guys

I tried to use a simple hello world web part with with sharepoint power tools the solution is added ok but when I try to add the web part to the page I get this error "Unable to load assembly group. The user assembly group provider...." Any thoughts






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)

Video: Office Client Workflow: Visual Studio 2010 SharePoint Workflow

Learn how project templates for SharePoint 2010 in Visual Studio 2010 allow developers to build sequential and state machine workflows for SharePoint and import reusable workflows created in SharePoint Designer. (Length: 10:36)

Video: What's New in SharePoint 2010 Workflow

Prior to SharePoint 2010, workflows had to be associated with a list. This meant that if you found a problem that would be well suited to using workflow that wasn't list or document related, you would have to find some way to associate that workflow with a list. This often led to "dummy" list items only created to be a vehicle for a workflow. (Length: 13:50)

Video: Creating Workflow Forms in SharePoint 2010

This video demonstrates how to add, design, and develop workflow initiation forms for SharePoint 2010. (Length: 3:58)

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

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

Sharepoint 2010 --> 32 Bit Workflow possible??

hey, sharepoint 2010 is 64 bit   but i need to load 32 bit assemblys in my workflow;   so i think, the only chance to do this, is to create the workflow as 32 bit   but is this possible?

SharePoint 2010 Refinement Panel - Show more link issue

Hi,  I have deployed a Refinement Panel on my search result page. And I have modified the Filter Category Definition to get some Managed Metadata columns. Below are the xml changes: <?xml version="1.0" encoding="utf-8" ?> <FilterCategories>   <Category    Title="Category"    Description="Managed metadata of the documents"    Type="Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator"    MetadataThreshold="3"    NumberOfFiltersToDisplay="3"    MaxNumberOfFilters="20"    ShowMoreLink="True"    MappedProperty="ows_MetadataFacetInfo"    MoreLinkText="show more"    LessLinkText="show fewer" />   <Category    Title="Modified Date"    Description="When the item was last updated"    Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator"    MetadataThreshold="5"    NumberOfFiltersToDisplay="6"    MaxNumberOfFilters="0"    SortBy="Custom"    ShowMoreLink="

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.

Access Denied/The workflow could not copy the item workflow error after Sharepoint 2010 upgrade

We have a sharepoint designer workflow that copies a document from one library to another on the same site.  Before the upgrade to 2007 it worked fine, but now with 2010 it gives an error and cancels the workflow when it gets to the copy list item step.   The error on the workflow page: The workflow could not copy the item. Make sure the source and destination lists have the same columns and column settings.  Access Denied   Specifically it is the "copy list item current item to documentlibrary" sharepoint designer workflow action.   I have given the system account full permissions to the library and double checked that all columns are the same in both libraries. These are the verbose trace logs:   09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72er Medium System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied. at Microsoft.SharePoint.SPFile.UpdateInternal(Boolean migrationSemantics, Boolean reGhost) at Microsoft.SharePoint.Workflow.SPWinOEWSSService.CommitCopyFile(Transaction txn, Object[] transData) 09/01/2010 09:46:04.05 w3wp.exe (0x17C4) 0x093C SharePoint Foundation Workflow Infrastructure 72fe High Error in commiting pending workflow batch items: Sys
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