.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

Workflow wont complete on infopath form

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :SharePoint

I have created many successful workflows on my infopath submittable forms

this time I cannot get the form to complete.   It will only start.       I am submitting to a SharePoint list that has 4 content types,  each representing a new form type

I am using a lookup value,  from a sharepoint list,  as a dropdown in my form.    The action I am trying to initiate is,    when a condition is met,  send an email,   using the  email provided in the dropdown.   This has worked before in other Libraries,  using the exact lookup lists.  

I am wondering if having multiple forms in the library may be affecting my results.   The condition I am picking is unique to the one form.  

Any ideas out there?




View Complete Post

More Related Resource Links

Workflow doesn't complete when a task is updated directly from an infopath form.

I have an approval workflow that creates a task for a group to approve or reject an InfoPath form. But if a member of the group opens the form and updates the task from there, it doesn't complete the workflow. It only completes the workflow if they go to the actual task and update it from there. Does anyone know how to fix that?

Using Infopath form fieldnames in a workflow fails



I designed a form in Infopath and I published it on a SP2007 server to use in a workflow in a library. That goes fine. In the workflow I send an email message. I can use the fields from my Infopath form in the message that I create. 
If the workfow is starts, Shrepoints sends me the message. But it does not use the fields from my InfoPtah form in the message in stead I see questionmarks.

Why doesn't it show the fields?

I alse saw (maybe this makes it clear) that when I let it dipslay the URL in the message, it show: http://1.portal.lucasonderwijs, but the actual site is whithout the "1" and it should also start with https://

Has anyone seen this before?

Thank you,


InfoPath Workflow Task Form "Loading" event handler only being called after App Pool recycled.


I have a Workflow that is using an InfoPath task form.  In the "FormEvents_Loading" method event handler I have some code that needs to run each time the form is opened.   I recycle the App Pool and open the form the code runs perfectly, but if I close and try to re-open the form the code is not run at all.  I can then recycle the App Pool again and on the next load the code executes just fine.   The code that is supposed to be run is a very simple statement to set a field value, so I don't think it is interfering.

Does anyone know what this might be?


InfoPath form checked out so 'on create' workflow not being started


Hi all,


I have found a couple of threads asking for advice on how to check in an InfoPath form when it’s saved or submitted to a forms library. The reason for doing this is so a workflow can start based on a new item being created in that library, and so it doesn’t just sit there with a “Starting” status.


The answers I have found contradict each other:

·         You have to do it with a workflow.  This can be done easily with SharePoint Designer if that's an option for you. Source:

Infopath form return XMl code during workflow task


1.     Review 7777.xml.

2.     Perform the specific activities required for this task.

Use the Edit this task button to mark the task as completed. (If you cannot update this task, you might not have access to it. Click here to request access.

Workflow which is activated when infopath form created but need attached to another costing form als


I have a requirement to create an infopath form which is simple enough to create and is pretty much done.

It however has a secret which they didn't really mention in the doc or their "simple workflow requriemetns" and this is  that it goes some where for costing.

The idea of this is to automate a paper trail so I am thinking that this costing which is to be attached to this document should not simple be an upload onto the form but part of the workflow tasks.

My questions are.

If I have the follow workflow requiremetns.


1. User fill in form and submit

2. workflow then starts

3. (cost part next?) one group of people liase with accountants to ensure funding is posible and attach to form. two option I see here.

opt 1

The costing part is part of the workflow but if I do this I need the field to be read only for everyone except for a couple of groups is it possible in infopath to do this?

Opt 2

The costing is in a different library which the workflow create the new file this has it own workflow with a task to complete it and when completed workflow marks a field as complete before the main workflow will move on to next steps.

I would need to link the two forms together preferably in both directions would be nice what the best way to do this?

4 Once costing is co

Contact Selector Failed in MOSS Workflow Modification Infopath Form

Hi,   In my proof of concept Moss 2007 WF, I tested an Infopath modification form successfully.  Then the contact selector ActiveX control was added but it failed to open using the modification link of the workflow page.  In a different form for the WF initiation, I similarly created two CS controls and it worked there.  A snippet of the MOSS error is below   Object reference not set to an instance of an object.   at Microsoft.Office.InfoPath.Server.Controls.ContactPicker.RenderClientViewDataLeafContent(XPathNavigator context, IRenderContext renderContext, ControlViewData controlViewData, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.LeafControl.RenderClientViewDataContent(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.BaseControl.RenderClientViewData(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.ContainerControl.RenderClientViewDataContent(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.BaseControl.RenderClientViewData(XPathNavigator context, IRenderContext renderContext, ScriptWriter writer)    at Microsoft.Office.InfoPath.Server.Controls.CollectionControl.RenderClientViewDataContent(XPathNavigator context, IRenderContext rend

sharepoint workflow with infopath form

Hi all... when i deploy workflow with initation and task infopath forms, these forms uploaded into central admin But: status: installing workflowenable:No and no category or version then when I activate this forms this message appearence : This form template cannot be activated because it is still being uploaded to the farm. Wait until the form template's status is Ready and try again as aresult when activate my workflow, the initiation form unloaded and get error message so what 's the problem?????????????? Thanks

Can i Start Workflow on Infopath form open?

HI, I Have a Scenario where when i open a Infopath 2010 form in Sharepoint 2010 as XML Form View Webpart, Custom workflow must be enabled, can i do this? If Yes, Please tell me steps to configure or code for starting a workflow. Thanks you all in Advance

Associating an InfoPath form as an initiation form of a workflow, and have it appear when workflow i

Hi all,   I've been working with and infopath form which I want to integrate into my Visual Studio 2008 SharePoint Workflow. I have done all the steps and can verify that the form works as it should, because if I associate the workflow and allow it to be kicked off manually, the form displays if i kick the workflow off... However, if I set the trigger to be "Start workflow when an new item is created", the form does not display and it goes straight into the code... why does my form not display when the workflow is triggered from a new item, but does if the item already exists??  Is there a way to get around it so that the form does show when a new item is created please?   Thanks, Ben

How can i have form used by infopath with workflow sharepoint 2010 ?

Hi all, I have sharepoint 2010 and infopath 2010. I would like to create a workflow which sends a task to a user every week. The task should be done in infopath 2010. How can i do that ?   Thanks

Form that is part of workflow wont open in form library


I am having an issue with my form. I have created a sharepoint sequential workflow using visual studio and as a task the user has to fill out an infopath form. When the form is submitted as part of the workflow is then saved to a form library. My issue is when I try to open the form in the form library I get the message "The form has been closed". 

I have check the Central Admin/Manage Form Templates and my form is here, status="Ready" and workflow enabled. But my form doesnt exist in the sitecollection/FormTemplate library. So I believe that when I try to open the form in the browser that template cant be found. Why I say that is when I open the form with the info path client, I get the message "The form was created with a new version of the form template. InfoPath cannot find the new version. Do you want to open with an older one" 
If a infopath form is part of a workflow and it be saved in a form library and then open, if so how?
Am I publishing the form incorrectly - I publish to network location. Then install my feature.
Do I need to associated the form template with the form library or should the feature installation take care of this?


- FormTemplate Library doesnt appear in site settings, I

Problems when deploying sequential workflow with association Infopath form of sharepoint 2010 using


I’ve create a workflow project with infopath in it. And I get the error

 “Error occurred in deployment step 'Activate Features': Unable to locate the workflow's association data. To restore the association data to the workflow, restart the workflow settings wizard by selecting the workflow node in Solution Explorer and then clicking the ellipsis button (…) on one of the properties in the Properties window that has an ellipsis button.”

I'd really appreciate of any help.

How to Get Attachment from an Infopath Form and Passes it to another infopath form in WorkFlow


Hi ,

how can I set a value inside an Infopath form task control ?

i used the following code but it's not working i don't know why

RequestSubmitted_TaskProperties.ExtendedProperties["attachctrl"] =Request.Attachctrl;


and i have another Issue the OnTaskChanged Event doesn't fires while i was submitting the TaskForm i don't know why

please advice



Workflow Updating Infopath Form Dropdown Field Keeps Breaking


I am using SharePoint Designer to create a workflow.  I am experienced in creating workflows this way, but it is my first go around with SP 2010 + SP Designer 2010. 

I am using InfoPath Services and have the form published as a content type to a form library.  I have a dropdown field that when the workflow runs, it will eventually change to another value in the list.  This HAD WORKED.  But twice now, I come into work the next day to find  the workflow will no longer set that field value.  Twice, I just rebuilt the workflow, only to have it break for no good reason, again.  

The workflow indicates that it runs and completes. For trouble shooting I created a step that said (in pseudo) 1. Write to the history log that the workflow started, 2. change dropdown field to value X.  3. Write to the history log that the value had been changed.

Well I get the history logs, but the value does not change.  Again, this was working twice, I know the function is possible.  But I am hoping that someone out there would know of any known issues that would cause this to break?  Other than a possible large amount of local variables added to the workflow, everything else is pretty straightforward.

North to the Future

InfoPath form for 2010 workflow asTask Forms not showing up


Hello all,

The workflow deploys successfully, goes to first state as expected. When I click to change the task [using InfoPath task form], instead of showing the InfoPath form I see SharePoint 2010 edit form for the task list

Here are my files:


<?xml version="1.0" encoding="utf-8" ?>
<Feature xmlns="http://schemas.microsoft.com/sharepoint/ "
ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c" ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver">
    <Property Key="GloballyAvailable" Value="true" />
    <Property Key="RegisterForms" Value="*Forms\*.xsn" />

Package.Template.xml :

<?xml version="1.0" encoding="utf-8"?>
<Solution xmlns="http://schemas.microsoft.com/sharepoint/">


<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="http://schemas.microsoft.com

SharePoint Designer workflow task - problem with multiple users selector in InfoPath form




I have got an issue with InfoPath form generated for my SharePoint Designer workflow task. There is a multiple users selector that requests users from a task assignee. The problem is that only the first user entered got saved.


I am using SharePoint 2010 Standard Server (release). Steps to reproduce are the following:

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